#2F476F

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.074 260.2), rgb(47, 71, 111).

Aa

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

About this color

#2F476F is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.074 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.036 away. White text reads best on it, at 9.32:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.25:1
White text9.32:1

Values

HEX#2F476F
RGBrgb(47, 71, 111)
HSLhsl(218, 41%, 31%)
OKLCHoklch(39.8% 0.074 260.2)

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 #2F476F 9.32:1 AAA Lc -95.7 Preferred for body text
Black text on #2F476F 2.25:1 Fails Lc 12.5 Not readable
#2F476F text on white 9.32:1 AAA Lc 91.4 Preferred for body text
#2F476F text on black 2.25:1 Fails Lc -10.9 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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #ACC2E5

    oklch(80.9% 0.055 259.6)

  5. Step 400

    400

    #80A2D9

    oklch(70.8% 0.089 259.8)

  6. Step 500

    500

    #6089CE

    oklch(63% 0.114 260.4)

  7. Step 600

    600

    #4772BB

    oklch(55.6% 0.124 260.4)

  8. Step 700

    700

    #385FA1

    oklch(49% 0.115 260.3)

  9. Step 800

    800

    #2F4E83

    oklch(42.7% 0.096 260.5)

  10. Step 900

    900 (this color)

    #2F476F

    oklch(39.8% 0.074 260.2)

  11. Step 950

    950

    #19263D

    oklch(26.9% 0.047 261.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F476F 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)#374A710.015
Deuteranopia (no green cones)#2F446E0.009
Tritanopia (no blue cones)#0850560.066
Achromatopsia (no color)#4747470.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F476F

    #2F476F

    oklch(39.8% 0.074 260.2)

  • #5C420E

    #5C420E

    oklch(39.8% 0.075 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F476F

    #2F476F

    oklch(39.8% 0.074 260.2)

  • #0C4E67

    #0C4E67

    oklch(39.8% 0.074 229.8)

  • #47406C

    #47406C

    oklch(39.9% 0.073 290)

Open the analogous palette in the generator

Split complementary

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

  • #2F476F

    #2F476F

    oklch(39.8% 0.074 260.2)

  • #673A20

    #673A20

    oklch(39.8% 0.075 49.4)

  • #4A4A14

    #4A4A14

    oklch(39.7% 0.074 109.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F476F

    #2F476F

    oklch(39.8% 0.074 260.2)

  • #6A3536

    #6A3536

    oklch(39.8% 0.076 19.9)

  • #305129

    #305129

    oklch(39.8% 0.075 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F476F

    #2F476F

    oklch(39.8% 0.074 260.2)

  • #65354D

    #65354D

    oklch(39.8% 0.076 349.8)

  • #5C420E

    #5C420E

    oklch(39.8% 0.075 80)

  • #0B5441

    #0B5441

    oklch(39.9% 0.075 169.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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