#004176

Closest named color: Twilight Blue (#0A437A). oklch(37.1% 0.107 250.8), rgb(0, 65, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.01:1
White text10.40:1

Values

HEX#004176
RGBrgb(0, 65, 118)
HSLhsl(207, 100%, 23%)
OKLCHoklch(37.1% 0.107 250.8)

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 #004176 10.40:1 AAA Lc -97.6 Preferred for body text
Black text on #004176 2.01:1 Fails Lc 10.4 Not readable
#004176 text on white 10.40:1 AAA Lc 93.6 Preferred for body text
#004176 text on black 2.01:1 Fails Lc -9.0 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C4DCF6

    oklch(88.5% 0.044 250.4)

  4. Step 300

    300

    #9AC5F3

    oklch(80.9% 0.08 250.5)

  5. Step 400

    400

    #5FA5EE

    oklch(70.7% 0.129 251)

  6. Step 500

    500

    #278CE8

    oklch(63% 0.165 250.9)

  7. Step 600

    600

    #0075CD

    oklch(55.6% 0.161 250.9)

  8. Step 700

    700

    #0062AD

    oklch(49.1% 0.142 250.8)

  9. Step 800

    800

    #00508F

    oklch(42.6% 0.123 250.8)

  10. Step 900

    900 (this color)

    #004176

    oklch(37.1% 0.107 250.8)

  11. Step 950

    950

    #072746

    oklch(26.9% 0.068 251.4)

Export this scale for Tailwind in the Tailwind colors tool

#004176 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)#2545780.030
Deuteranopia (no green cones)#0D3B750.017
Tritanopia (no blue cones)#004E550.079
Achromatopsia (no color)#4040400.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #004176

    #004176

    oklch(37.1% 0.107 250.8)

  • #5A3700

    #5A3700

    oklch(37% 0.08 70.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004176

    #004176

    oklch(37.1% 0.107 250.8)

  • #004859

    #004859

    oklch(37.2% 0.068 220.3)

  • #383677

    #383677

    oklch(37.2% 0.108 281.2)

Open the analogous palette in the generator

Split complementary

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

  • #004176

    #004176

    oklch(37.1% 0.107 250.8)

  • #6D2707

    #6D2707

    oklch(37.3% 0.108 41.1)

  • #494100

    #494100

    oklch(37.2% 0.078 101.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004176

    #004176

    oklch(37.1% 0.107 250.8)

  • #6D2132

    #6D2132

    oklch(37.1% 0.108 10.7)

  • #2C4A00

    #2C4A00

    oklch(37.1% 0.101 131)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004176

    #004176

    oklch(37.1% 0.107 250.8)

  • #642451

    #642451

    oklch(37.2% 0.109 340.9)

  • #5A3700

    #5A3700

    oklch(37% 0.08 70.4)

  • #004D31

    #004D31

    oklch(37.1% 0.083 160.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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