#2E3845

Closest named color: Onyx (#343A40). oklch(33.7% 0.027 255.1), rgb(46, 56, 69).

Aa

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

About this color

#2E3845 is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.016 away. White text reads best on it, at 11.87:1.

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.76:1
White text11.87:1

Values

HEX#2E3845
RGBrgb(46, 56, 69)
HSLhsl(214, 20%, 23%)
OKLCHoklch(33.7% 0.027 255.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 #2E3845 11.87:1 AAA Lc -100.8 Preferred for body text
Black text on #2E3845 1.76:1 Fails Lc 0.0 Not readable
#2E3845 text on white 11.87:1 AAA Lc 97.2 Preferred for body text
#2E3845 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D4DAE0

    oklch(88.6% 0.011 247.9)

  4. Step 300

    300

    #B8C1CE

    oklch(80.8% 0.021 257.5)

  5. Step 400

    400

    #94A2B5

    oklch(70.7% 0.032 256)

  6. Step 500

    500

    #798BA2

    oklch(63.1% 0.041 254.7)

  7. Step 600

    600

    #62758D

    oklch(55.6% 0.044 254.4)

  8. Step 700

    700

    #516278

    oklch(49.1% 0.041 255)

  9. Step 800

    800

    #425062

    oklch(42.6% 0.035 254.9)

  10. Step 900

    900 (this color)

    #2E3845

    oklch(33.7% 0.027 255.1)

  11. Step 950

    950

    #21272F

    oklch(27% 0.017 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#2E3845 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)#3338460.008
Deuteranopia (no green cones)#3136450.008
Tritanopia (no blue cones)#273B3C0.024
Achromatopsia (no color)#3737370.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E3845

    #2E3845

    oklch(33.7% 0.027 255.1)

  • #3F3528

    #3F3528

    oklch(33.6% 0.026 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E3845

    #2E3845

    oklch(33.7% 0.027 255.1)

  • #283A42

    #283A42

    oklch(33.6% 0.027 227.2)

  • #353545

    #353545

    oklch(33.6% 0.028 284.8)

Open the analogous palette in the generator

Split complementary

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

  • #2E3845

    #2E3845

    oklch(33.7% 0.027 255.1)

  • #43332C

    #43332C

    oklch(33.7% 0.026 44.8)

  • #393828

    #393828

    oklch(33.7% 0.027 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E3845

    #2E3845

    oklch(33.7% 0.027 255.1)

  • #443233

    #443233

    oklch(33.8% 0.026 14.8)

  • #313A2D

    #313A2D

    oklch(33.6% 0.025 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E3845

    #2E3845

    oklch(33.7% 0.027 255.1)

  • #42323A

    #42323A

    oklch(33.8% 0.026 347.1)

  • #3F3528

    #3F3528

    oklch(33.6% 0.026 74)

  • #2A3C34

    #2A3C34

    oklch(33.8% 0.027 165.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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