#2F394A

Closest named color: Onyx (#343A40). oklch(34.3% 0.033 260.9), rgb(47, 57, 74).

Aa

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

About this color

#2F394A is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.033 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.020 away. White text reads best on it, at 11.63:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.033)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.80:1
White text11.63:1

Values

HEX#2F394A
RGBrgb(47, 57, 74)
HSLhsl(218, 22%, 24%)
OKLCHoklch(34.3% 0.033 260.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 #2F394A 11.63:1 AAA Lc -100.4 Preferred for body text
Black text on #2F394A 1.80:1 Fails Lc 0.0 Not readable
#2F394A text on white 11.63:1 AAA Lc 96.8 Preferred for body text
#2F394A text on black 1.80:1 Fails Lc 0.0 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D4D9E2

    oklch(88.4% 0.013 262.4)

  4. Step 300

    300

    #B8C1D1

    oklch(80.9% 0.025 262.1)

  5. Step 400

    400

    #93A1BA

    oklch(70.6% 0.04 262.1)

  6. Step 500

    500

    #788AA9

    oklch(63% 0.051 261.2)

  7. Step 600

    600

    #617494

    oklch(55.6% 0.055 260.7)

  8. Step 700

    700

    #50617E

    oklch(49% 0.051 261)

  9. Step 800

    800

    #424F66

    oklch(42.6% 0.042 261.7)

  10. Step 900

    900 (this color)

    #2F394A

    oklch(34.3% 0.033 260.9)

  11. Step 950

    950

    #212731

    oklch(27.1% 0.021 260.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F394A 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)#333A4B0.007
Deuteranopia (no green cones)#30374A0.007
Tritanopia (no blue cones)#273D3F0.030
Achromatopsia (no color)#3939390.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F394A

    #2F394A

    oklch(34.3% 0.033 260.9)

  • #413725

    #413725

    oklch(34.2% 0.032 81.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F394A

    #2F394A

    oklch(34.3% 0.033 260.9)

  • #273C47

    #273C47

    oklch(34.3% 0.033 231.8)

  • #383649

    #383649

    oklch(34.3% 0.033 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F394A

    #2F394A

    oklch(34.3% 0.033 260.9)

  • #473429

    #473429

    oklch(34.3% 0.033 51.3)

  • #393A26

    #393A26

    oklch(34.1% 0.033 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F394A

    #2F394A

    oklch(34.3% 0.033 260.9)

  • #483231

    #483231

    oklch(34.2% 0.032 21.8)

  • #2F3D2D

    #2F3D2D

    oklch(34.2% 0.033 141.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F394A

    #2F394A

    oklch(34.3% 0.033 260.9)

  • #46323B

    #46323B

    oklch(34.3% 0.032 350.2)

  • #413725

    #413725

    oklch(34.2% 0.032 81.9)

  • #273E36

    #273E36

    oklch(34.2% 0.032 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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