#003C8E

Closest named color: Cobalt (#1E488F). oklch(37.9% 0.147 259), rgb(0, 60, 142).

Aa

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

About this color

#003C8E is a dark, vivid blue. In OKLCH its lightness is 38%, its chroma 0.147 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.041 away. White text reads best on it, at 10.30:1.

Hue familyBlues
Lightnessdark (38%)
Chromavivid (0.147)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.03:1
White text10.30:1

Values

HEX#003C8E
RGBrgb(0, 60, 142)
HSLhsl(215, 100%, 28%)
OKLCHoklch(37.9% 0.147 259)

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 #003C8E 10.30:1 AAA Lc -97.3 Preferred for body text
Black text on #003C8E 2.03:1 Fails Lc 10.8 Not readable
#003C8E text on white 10.30:1 AAA Lc 93.1 Preferred for body text
#003C8E text on black 2.03:1 Fails Lc -9.4 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 900.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C3DBFF

    oklch(88.5% 0.056 258.4)

  4. Step 300

    300

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  5. Step 400

    400

    #63A0FF

    oklch(70.7% 0.154 259)

  6. Step 500

    500

    #3384FF

    oklch(63.1% 0.199 259)

  7. Step 600

    600

    #006AEE

    oklch(55.7% 0.215 258.9)

  8. Step 700

    700

    #0058CA

    oklch(49.1% 0.191 259.1)

  9. Step 800

    800

    #0048A7

    oklch(42.7% 0.165 259)

  10. Step 900

    900 (this color)

    #003C8E

    oklch(37.9% 0.147 259)

  11. Step 950

    950

    #052453

    oklch(27.1% 0.093 259)

Export this scale for Tailwind in the Tailwind colors tool

#003C8E 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)#0047910.030
Deuteranopia (no green cones)#003B8C0.004
Tritanopia (no blue cones)#00515F0.111
Achromatopsia (no color)#4040400.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #003C8E

    #003C8E

    oklch(37.9% 0.147 259)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #003C8E

    #003C8E

    oklch(37.9% 0.147 259)

  • #004962

    #004962

    oklch(37.9% 0.075 229.5)

  • #432C89

    #432C89

    oklch(37.8% 0.147 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #003C8E

    #003C8E

    oklch(37.9% 0.147 259)

  • #6B2D00

    #6B2D00

    oklch(37.8% 0.102 48.7)

  • #464500

    #464500

    oklch(37.9% 0.082 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #003C8E

    #003C8E

    oklch(37.9% 0.147 259)

  • #7E0720

    #7E0720

    oklch(37.9% 0.147 19.3)

  • #185000

    #185000

    oklch(37.9% 0.12 139.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #003C8E

    #003C8E

    oklch(37.9% 0.147 259)

  • #750E4E

    #750E4E

    oklch(37.9% 0.147 349.1)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

  • #004F3B

    #004F3B

    oklch(38% 0.076 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #003C8E 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.