#2F476B

Closest named color: Dark Grey Blue (#29465B). oklch(39.6% 0.068 258.3), rgb(47, 71, 107).

Aa

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

About this color

#2F476B is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.068 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.029 away. White text reads best on it, at 9.39:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.23:1
White text9.39:1

Values

HEX#2F476B
RGBrgb(47, 71, 107)
HSLhsl(216, 39%, 30%)
OKLCHoklch(39.6% 0.068 258.3)

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 #2F476B 9.39:1 AAA Lc -95.9 Preferred for body text
Black text on #2F476B 2.23:1 Fails Lc 12.3 Not readable
#2F476B text on white 9.39:1 AAA Lc 91.6 Preferred for body text
#2F476B text on black 2.23:1 Fails Lc -10.8 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAEC

    oklch(88.5% 0.028 258.4)

  4. Step 300

    300

    #ADC2E2

    oklch(80.9% 0.051 258.7)

  5. Step 400

    400

    #81A2D4

    oklch(70.7% 0.082 258.5)

  6. Step 500

    500

    #618AC8

    oklch(63% 0.105 258.4)

  7. Step 600

    600

    #4873B5

    oklch(55.5% 0.114 258.7)

  8. Step 700

    700

    #39619C

    oklch(49.2% 0.105 258)

  9. Step 800

    800

    #2F4F7E

    oklch(42.6% 0.087 257.9)

  10. Step 900

    900 (this color)

    #2F476B

    oklch(39.6% 0.068 258.3)

  11. Step 950

    950

    #19273B

    oklch(27% 0.042 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F476B 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)#39496D0.016
Deuteranopia (no green cones)#31446A0.009
Tritanopia (no blue cones)#0E4F540.061
Achromatopsia (no color)#4646460.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F476B

    #2F476B

    oklch(39.6% 0.068 258.3)

  • #5A4216

    #5A4216

    oklch(39.6% 0.068 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F476B

    #2F476B

    oklch(39.6% 0.068 258.3)

  • #134D63

    #134D63

    oklch(39.5% 0.068 228.2)

  • #454069

    #454069

    oklch(39.5% 0.068 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F476B

    #2F476B

    oklch(39.6% 0.068 258.3)

  • #643B24

    #643B24

    oklch(39.7% 0.068 49.2)

  • #4A4919

    #4A4919

    oklch(39.5% 0.068 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F476B

    #2F476B

    oklch(39.6% 0.068 258.3)

  • #663738

    #663738

    oklch(39.6% 0.067 19.2)

  • #334F2A

    #334F2A

    oklch(39.5% 0.068 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F476B

    #2F476B

    oklch(39.6% 0.068 258.3)

  • #61374D

    #61374D

    oklch(39.6% 0.067 347.9)

  • #5A4216

    #5A4216

    oklch(39.6% 0.068 79.5)

  • #175240

    #175240

    oklch(39.5% 0.068 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 #2F476B, closest first.

Similar named colors

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

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