#00008B Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(0, 0, 139)
HSL:hsl(240, 100%, 27%)
HEX
#00008B
RGB
0, 0, 139
HSL
240°, 100%, 27%
HSV
240°, 100%, 55%
CMYK
100%, 100%, 0%, 45%

Color Conversion

Generate values across multiple color models in one place.

#00008B

Tints & shades

Explore how #00008B behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#00008A
10%#00007C
20%#00006E
30%#000060
40%#000053
50%#000045
60%#000037
70%#000029
80%#00001C
90%#00000E
100%#000000

Tints

0–100%
0%#00008A
10%#0000AF
20%#0000D4
30%#0000F9
40%#2020FF
50%#4545FF
60%#6A6AFF
70%#8F8FFF
80%#B5B5FF
90%#DADAFF
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #00008B.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #00008B is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#00008B
Contrast ratio1.37:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#00008B
Contrast ratio15.30:1
WCAG levelAAA
Recommended text preview
Text color#FFFFFF
Background#00008B
Contrast ratio15.30:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#00008B
RGB
rgb(0, 0, 139)
HSL
hsl(240, 100%, 27.25%)
HSV
hsv(240.00 100.00% 54.51%)
LAB
lab(13.02 43.48 -71.34)
LCH
lch(13.02 83.54 301.36)
OKLAB
oklab(0.29 -0.0207 -0.1984)
OKLCH
oklch(0.29 0.1994 264.05)
Display P3
color(display-p3 0 -8.965050923848139e-17 0.5221111710140907)
CSS Color Level 4
color(srgb 0 0 0.5450980392156862)
XYZ
color(xyz-d65 0.0466 0.0186 0.2454)
CMYK
cmyk(100.00% 100.00% 0.00% 45.49%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #00008B;
CSS RGB Variable
--color-brand-primary-rgb: 0, 0, 139;
SCSS Variable
$color-brand-primary: #00008B;
Tailwind Config
"brand-primary": "#00008B"
JavaScript
const brandprimary = "#00008B";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#00008B",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#00008B" />
Android XML
<color name="brand_primary">#00008B</color>
iOS Swift
UIColor(red: 0.000, green: 0.000, blue: 0.545, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 240.00 100.00% 27.25%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
darkblue
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.0186
Saturation Level
Highly saturated
Lightness Level
Dark

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#00008B

Deuteranopia

Green-blind simulation

#00008B

Tritanopia

Blue-blind simulation

#001212

Achromatopsia

No-color simulation

#0A0A0A

Creative Aspects

Palettes, gradients, and moods.

Complementary

#00008B#8B8B00

Analogous

#00458B#00008B#45008B

Triadic

#00008B#8B0000#008B00

Tetradic

#00008B#8B0046#8B8B00#008B46

Monochromatic

#865CF0#5030BC#00008B#000B60#000034

Tints

#FFFFFF#CCBCE3#977DC6#5F41A9#00008B

Shades

#00008B#000081#000077#00006E#000000

Gradient Flow

#003A8B#00258E#00008B#27008B#3A008B

Design guidance

Balance

Treat #00008B as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color