#2F4D71

Closest named color: Light Navy (#155084). oklch(41.4% 0.071 253.8), rgb(47, 77, 113).

Aa

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

About this color

#2F4D71 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.071 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.036 away. White text reads best on it, at 8.67:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.42:1
White text8.67:1

Values

HEX#2F4D71
RGBrgb(47, 77, 113)
HSLhsl(213, 41%, 31%)
OKLCHoklch(41.4% 0.071 253.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 #2F4D71 8.67:1 AAA Lc -94.1 Preferred for body text
Black text on #2F4D71 2.42:1 Fails Lc 14.3 Not readable
#2F4D71 text on white 8.67:1 AAA Lc 89.6 Fine for body text
#2F4D71 text on black 2.42:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EAF2

    oklch(93.5% 0.013 255.5)

  3. Step 200

    200

    #CFDAE8

    oklch(88.4% 0.023 254.4)

  4. Step 300

    300

    #AFC3DB

    oklch(81% 0.04 253.1)

  5. Step 400

    400

    #84A3C9

    oklch(70.6% 0.066 253.8)

  6. Step 500

    500

    #658CBC

    oklch(63.1% 0.085 254.1)

  7. Step 600

    600

    #4C76A8

    oklch(55.7% 0.091 253.6)

  8. Step 700

    700

    #3D6390

    oklch(49.2% 0.085 253.5)

  9. Step 800

    800 (this color)

    #2F4D71

    oklch(41.4% 0.071 253.8)

  10. Step 900

    900

    #2C435E

    oklch(37.7% 0.055 253.1)

  11. Step 950

    950

    #1A2737

    oklch(26.9% 0.035 254.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F4D71 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.021
Deuteranopia (no green cones)#3648700.016
Tritanopia (no blue cones)#02555A0.061
Achromatopsia (no color)#4B4B4B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4D71

    #2F4D71

    oklch(41.4% 0.071 253.8)

  • #62451A

    #62451A

    oklch(41.4% 0.071 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4D71

    #2F4D71

    oklch(41.4% 0.071 253.8)

  • #125368

    #125368

    oklch(41.3% 0.071 224.8)

  • #474670

    #474670

    oklch(41.4% 0.069 284)

Open the analogous palette in the generator

Split complementary

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

  • #2F4D71

    #2F4D71

    oklch(41.4% 0.071 253.8)

  • #6B3E2B

    #6B3E2B

    oklch(41.4% 0.07 43.3)

  • #524D1A

    #524D1A

    oklch(41.4% 0.071 103.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4D71

    #2F4D71

    oklch(41.4% 0.071 253.8)

  • #6C3A40

    #6C3A40

    oklch(41.3% 0.071 13)

  • #3B542B

    #3B542B

    oklch(41.4% 0.071 134.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4D71

    #2F4D71

    oklch(41.4% 0.071 253.8)

  • #663B55

    #663B55

    oklch(41.3% 0.071 343.6)

  • #62451A

    #62451A

    oklch(41.4% 0.071 74.1)

  • #1F5741

    #1F5741

    oklch(41.3% 0.07 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F4D71 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.