#2F486E

Closest named color: Dark Grey Blue (#29465B). oklch(40% 0.072 258.5), rgb(47, 72, 110).

Aa

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

About this color

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

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

Values

HEX#2F486E
RGBrgb(47, 72, 110)
HSLhsl(216, 40%, 31%)
OKLCHoklch(40% 0.072 258.5)

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 #2F486E 9.23:1 AAA Lc -95.5 Preferred for body text
Black text on #2F486E 2.27:1 Fails Lc 12.8 Not readable
#2F486E text on white 9.23:1 AAA Lc 91.2 Preferred for body text
#2F486E text on black 2.27:1 Fails Lc -11.2 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CDDAED

    oklch(88.4% 0.03 257.8)

  4. Step 300

    300

    #ACC2E4

    oklch(80.9% 0.054 259)

  5. Step 400

    400

    #80A2D6

    oklch(70.7% 0.085 258.7)

  6. Step 500

    500

    #5F8ACB

    oklch(63% 0.11 258.4)

  7. Step 600

    600

    #4573B8

    oklch(55.5% 0.119 258.3)

  8. Step 700

    700

    #37609F

    oklch(49.1% 0.112 258.7)

  9. Step 800

    800

    #2E4F81

    oklch(42.8% 0.092 258.5)

  10. Step 900

    900 (this color)

    #2F486E

    oklch(40% 0.072 258.5)

  11. Step 950

    950

    #18273C

    oklch(27% 0.044 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F486E 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)#394B700.017
Deuteranopia (no green cones)#31456D0.009
Tritanopia (no blue cones)#0950560.063
Achromatopsia (no color)#4747470.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F486E

    #2F486E

    oklch(40% 0.072 258.5)

  • #5C4213

    #5C4213

    oklch(39.8% 0.071 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F486E

    #2F486E

    oklch(40% 0.072 258.5)

  • #104F66

    #104F66

    oklch(40.1% 0.071 228)

  • #46416C

    #46416C

    oklch(40% 0.071 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F486E

    #2F486E

    oklch(40% 0.072 258.5)

  • #673B23

    #673B23

    oklch(40.1% 0.072 48.4)

  • #4B4A17

    #4B4A17

    oklch(39.9% 0.071 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F486E

    #2F486E

    oklch(40% 0.072 258.5)

  • #693738

    #693738

    oklch(40% 0.071 19.5)

  • #33512A

    #33512A

    oklch(40% 0.072 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F486E

    #2F486E

    oklch(40% 0.072 258.5)

  • #64374E

    #64374E

    oklch(40.1% 0.071 348.8)

  • #5C4213

    #5C4213

    oklch(39.8% 0.071 78.5)

  • #135441

    #135441

    oklch(40% 0.072 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 #2F486E, closest first.

Similar named colors

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

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