#004172

Closest named color: Twilight Blue (#0A437A). oklch(36.8% 0.102 249.1), rgb(0, 65, 114).

Aa

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

About this color

#004172 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.102 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.016 away. White text reads best on it, at 10.50:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.99:1
White text10.50:1

Values

HEX#004172
RGBrgb(0, 65, 114)
HSLhsl(206, 100%, 22%)
OKLCHoklch(36.8% 0.102 249.1)

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 #004172 10.50:1 AAA Lc -97.8 Preferred for body text
Black text on #004172 1.99:1 Fails Lc 10.1 Not readable
#004172 text on white 10.50:1 AAA Lc 93.8 Preferred for body text
#004172 text on black 1.99:1 Fails Lc -8.7 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C4DCF5

    oklch(88.5% 0.043 249.4)

  4. Step 300

    300

    #9BC5F1

    oklch(80.9% 0.077 250)

  5. Step 400

    400

    #60A6E9

    oklch(70.7% 0.122 248.9)

  6. Step 500

    500

    #298EE3

    oklch(63.2% 0.156 249)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900 (this color)

    #004172

    oklch(36.8% 0.102 249.1)

  11. Step 950

    950

    #072844

    oklch(27% 0.064 248.5)

Export this scale for Tailwind in the Tailwind colors tool

#004172 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)#2844740.032
Deuteranopia (no green cones)#143B710.019
Tritanopia (no blue cones)#004D540.073
Achromatopsia (no color)#3F3F3F0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #004172

    #004172

    oklch(36.8% 0.102 249.1)

  • #5A3600

    #5A3600

    oklch(36.8% 0.08 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004172

    #004172

    oklch(36.8% 0.102 249.1)

  • #004757

    #004757

    oklch(36.8% 0.067 219.3)

  • #353773

    #353773

    oklch(36.8% 0.101 278.8)

Open the analogous palette in the generator

Split complementary

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

  • #004172

    #004172

    oklch(36.8% 0.102 249.1)

  • #6A270F

    #6A270F

    oklch(36.8% 0.102 38.9)

  • #493F00

    #493F00

    oklch(36.7% 0.076 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004172

    #004172

    oklch(36.8% 0.102 249.1)

  • #6A2334

    #6A2334

    oklch(36.9% 0.102 9)

  • #2E4800

    #2E4800

    oklch(36.6% 0.097 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004172

    #004172

    oklch(36.8% 0.102 249.1)

  • #602651

    #602651

    oklch(36.8% 0.102 338.6)

  • #5A3600

    #5A3600

    oklch(36.8% 0.08 69.1)

  • #004C2F

    #004C2F

    oklch(36.7% 0.084 159.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #004172 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.