#003D8F

Closest named color: Cobalt (#1E488F). oklch(38.2% 0.147 258.9), rgb(0, 61, 143).

Aa

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

About this color

#003D8F 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.038 away. White text reads best on it, at 10.17:1.

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

Values

HEX#003D8F
RGBrgb(0, 61, 143)
HSLhsl(214, 100%, 28%)
OKLCHoklch(38.2% 0.147 258.9)

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 #003D8F 10.17:1 AAA Lc -97.0 Preferred for body text
Black text on #003D8F 2.06:1 Fails Lc 11.1 Not readable
#003D8F text on white 10.17:1 AAA Lc 92.8 Preferred for body text
#003D8F text on black 2.06:1 Fails Lc -9.6 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

    #3284FF

    oklch(63.1% 0.199 258.9)

  7. Step 600

    600

    #006AED

    oklch(55.6% 0.214 258.9)

  8. Step 700

    700

    #0059C9

    oklch(49.2% 0.189 258.8)

  9. Step 800

    800

    #0048A6

    oklch(42.6% 0.164 258.9)

  10. Step 900

    900 (this color)

    #003D8F

    oklch(38.2% 0.147 258.9)

  11. Step 950

    950

    #052453

    oklch(27.1% 0.093 259)

Export this scale for Tailwind in the Tailwind colors tool

#003D8F 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)#0048920.031
Deuteranopia (no green cones)#003B8D0.006
Tritanopia (no blue cones)#0052600.111
Achromatopsia (no color)#4141410.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #003D8F

    #003D8F

    oklch(38.2% 0.147 258.9)

  • #593D00

    #593D00

    oklch(38.2% 0.079 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #003D8F

    #003D8F

    oklch(38.2% 0.147 258.9)

  • #004A63

    #004A63

    oklch(38.3% 0.076 229.2)

  • #442D8A

    #442D8A

    oklch(38.2% 0.147 288.9)

Open the analogous palette in the generator

Split complementary

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

  • #003D8F

    #003D8F

    oklch(38.2% 0.147 258.9)

  • #6C2E00

    #6C2E00

    oklch(38.1% 0.102 49.1)

  • #474600

    #474600

    oklch(38.3% 0.083 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #003D8F

    #003D8F

    oklch(38.2% 0.147 258.9)

  • #7F0821

    #7F0821

    oklch(38.2% 0.147 19.1)

  • #195100

    #195100

    oklch(38.3% 0.121 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #003D8F

    #003D8F

    oklch(38.2% 0.147 258.9)

  • #760F4F

    #760F4F

    oklch(38.2% 0.147 349)

  • #593D00

    #593D00

    oklch(38.2% 0.079 79.4)

  • #00503C

    #00503C

    oklch(38.3% 0.077 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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