#2F3748

Closest named color: Onyx (#343A40). oklch(33.7% 0.032 265.1), rgb(47, 55, 72).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.032)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.76:1
White text11.92:1

Values

HEX#2F3748
RGBrgb(47, 55, 72)
HSLhsl(221, 21%, 23%)
OKLCHoklch(33.7% 0.032 265.1)

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 #2F3748 11.92:1 AAA Lc -100.9 Preferred for body text
Black text on #2F3748 1.76:1 Fails Lc 0.0 Not readable
#2F3748 text on white 11.92:1 AAA Lc 97.3 Preferred for body text
#2F3748 text on black 1.76: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

    #D5D9E2

    oklch(88.5% 0.013 266.7)

  4. Step 300

    300

    #B9C1D1

    oklch(81% 0.024 264.4)

  5. Step 400

    400

    #95A1B9

    oklch(70.8% 0.038 264.3)

  6. Step 500

    500

    #7B89A8

    oklch(63% 0.05 265.9)

  7. Step 600

    600

    #647393

    oklch(55.6% 0.053 265.1)

  8. Step 700

    700

    #53617D

    oklch(49.2% 0.048 264)

  9. Step 800

    800

    #444F66

    oklch(42.7% 0.041 264.8)

  10. Step 900

    900 (this color)

    #2F3748

    oklch(33.7% 0.032 265.1)

  11. Step 950

    950

    #222631

    oklch(27% 0.021 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F3748 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)#3138490.005
Deuteranopia (no green cones)#2F36480.003
Tritanopia (no blue cones)#283A3D0.027
Achromatopsia (no color)#3737370.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3748

    #2F3748

    oklch(33.7% 0.032 265.1)

  • #3F3624

    #3F3624

    oklch(33.7% 0.032 84.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3748

    #2F3748

    oklch(33.7% 0.032 265.1)

  • #273A45

    #273A45

    oklch(33.7% 0.031 234.3)

  • #383446

    #383446

    oklch(33.7% 0.032 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F3748

    #2F3748

    oklch(33.7% 0.032 265.1)

  • #443327

    #443327

    oklch(33.7% 0.032 56.6)

  • #363926

    #363926

    oklch(33.6% 0.032 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3748

    #2F3748

    oklch(33.7% 0.032 265.1)

  • #46312F

    #46312F

    oklch(33.7% 0.031 25)

  • #2D3C2D

    #2D3C2D

    oklch(33.8% 0.033 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3748

    #2F3748

    oklch(33.7% 0.032 265.1)

  • #453038

    #453038

    oklch(33.6% 0.033 354.4)

  • #3F3624

    #3F3624

    oklch(33.7% 0.032 84.2)

  • #253D36

    #253D36

    oklch(33.8% 0.033 173.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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