#08419C

Closest named color: Cobalt (#1E488F). oklch(40.4% 0.158 260.4), rgb(8, 65, 156).

Aa

White text reads best on this color (9.34:1).

About this color

#08419C is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.158 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.033 away. White text reads best on it, at 9.34:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.158)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.24:1
White text9.34:1

Values

HEX#08419C
RGBrgb(8, 65, 156)
HSLhsl(217, 90%, 32%)
OKLCHoklch(40.4% 0.158 260.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #08419C 9.34:1 AAA Lc -95.2 Preferred for body text
Black text on #08419C 2.24:1 Fails Lc 13.1 Not readable
#08419C text on white 9.34:1 AAA Lc 90.8 Preferred for body text
#08419C text on black 2.24:1 Fails Lc -11.5 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DAFC

    oklch(88.4% 0.052 261.1)

  4. Step 300

    300

    #9EC2FD

    oklch(80.9% 0.093 260.1)

  5. Step 400

    400

    #699FFC

    oklch(70.6% 0.148 260.7)

  6. Step 500

    500

    #3F84FA

    oklch(63.1% 0.19 260.4)

  7. Step 600

    600

    #1D6AE9

    oklch(55.6% 0.206 260.4)

  8. Step 700

    700

    #0F57CA

    oklch(49% 0.191 260.4)

  9. Step 800

    800 (this color)

    #08419C

    oklch(40.4% 0.158 260.4)

  10. Step 900

    900

    #163E82

    oklch(37.8% 0.123 260.4)

  11. Step 950

    950

    #0E254C

    oklch(27.1% 0.078 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#08419C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#004D9F0.032
Deuteranopia (no green cones)#00409A0.006
Tritanopia (no blue cones)#0058680.120
Achromatopsia (no color)#4747470.159

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #08419C

    #08419C

    oklch(40.4% 0.158 260.4)

  • #604300

    #604300

    oklch(40.5% 0.084 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08419C

    #08419C

    oklch(40.4% 0.158 260.4)

  • #00506C

    #00506C

    oklch(40.4% 0.081 230.4)

  • #4C2F96

    #4C2F96

    oklch(40.3% 0.159 290.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #08419C

    #08419C

    oklch(40.4% 0.158 260.4)

  • #743400

    #743400

    oklch(40.5% 0.106 50.8)

  • #4C4C00

    #4C4C00

    oklch(40.3% 0.088 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08419C

    #08419C

    oklch(40.4% 0.158 260.4)

  • #8A0621

    #8A0621

    oklch(40.3% 0.158 20.3)

  • #145800

    #145800

    oklch(40.3% 0.131 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08419C

    #08419C

    oklch(40.4% 0.158 260.4)

  • #810D54

    #810D54

    oklch(40.4% 0.159 350.3)

  • #604300

    #604300

    oklch(40.5% 0.084 80.6)

  • #005642

    #005642

    oklch(40.3% 0.08 170.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #08419C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #08419C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.