#004F71

Closest named color: Deep Sea Blue (#015482). oklch(40.4% 0.087 235.9), rgb(0, 79, 113).

Aa

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

About this color

#004F71 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.087 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.030 away. White text reads best on it, at 8.91:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.35:1
White text8.91:1

Values

HEX#004F71
RGBrgb(0, 79, 113)
HSLhsl(198, 100%, 22%)
OKLCHoklch(40.4% 0.087 235.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 #004F71 8.91:1 AAA Lc -94.4 Preferred for body text
Black text on #004F71 2.35:1 Fails Lc 14.1 Not readable
#004F71 text on white 8.91:1 AAA Lc 89.9 Fine for body text
#004F71 text on black 2.35:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A2C6DD

    oklch(80.8% 0.05 236.3)

  5. Step 400

    400

    #6DA9CD

    oklch(70.7% 0.082 235.9)

  6. Step 500

    500

    #4193C0

    oklch(63.2% 0.104 235.8)

  7. Step 600

    600

    #177CAC

    oklch(55.5% 0.113 236.1)

  8. Step 700

    700

    #026994

    oklch(49.2% 0.105 235.7)

  9. Step 800

    800 (this color)

    #004F71

    oklch(40.4% 0.087 235.9)

  10. Step 900

    900

    #164760

    oklch(37.8% 0.067 234.9)

  11. Step 950

    950

    #0F2A38

    oklch(27.1% 0.042 233.9)

Export this scale for Tailwind in the Tailwind colors tool

#004F71 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)#3E4F730.050
Deuteranopia (no green cones)#3046700.040
Tritanopia (no blue cones)#00585B0.054
Achromatopsia (no color)#4A4A4A0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #004F71

    #004F71

    oklch(40.4% 0.087 235.9)

  • #6C3A12

    #6C3A12

    oklch(40.4% 0.087 54.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004F71

    #004F71

    oklch(40.4% 0.087 235.9)

  • #00535B

    #00535B

    oklch(40.4% 0.069 206)

  • #324678

    #324678

    oklch(40.3% 0.088 266.1)

Open the analogous palette in the generator

Split complementary

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

  • #004F71

    #004F71

    oklch(40.4% 0.087 235.9)

  • #70342F

    #70342F

    oklch(40.4% 0.086 26.5)

  • #5D4500

    #5D4500

    oklch(40.5% 0.083 85.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004F71

    #004F71

    oklch(40.4% 0.087 235.9)

  • #6C334A

    #6C334A

    oklch(40.4% 0.086 356.1)

  • #474E0A

    #474E0A

    oklch(40.4% 0.086 115.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004F71

    #004F71

    oklch(40.4% 0.087 235.9)

  • #603762

    #603762

    oklch(40.4% 0.086 325.4)

  • #6C3A12

    #6C3A12

    oklch(40.4% 0.087 54.9)

  • #25552A

    #25552A

    oklch(40.4% 0.088 145.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #004F71 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.