#2D3845

Closest named color: Onyx (#343A40). oklch(33.6% 0.027 252.8), rgb(45, 56, 69).

Aa

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

About this color

#2D3845 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.017 away. White text reads best on it, at 11.91:1.

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

Values

HEX#2D3845
RGBrgb(45, 56, 69)
HSLhsl(213, 21%, 22%)
OKLCHoklch(33.6% 0.027 252.8)

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

    #D4DAE1

    oklch(88.6% 0.012 252.1)

  4. Step 300

    300

    #B8C2CE

    oklch(81% 0.02 252.9)

  5. Step 400

    400

    #93A2B5

    oklch(70.7% 0.033 254.4)

  6. Step 500

    500

    #788BA3

    oklch(63% 0.042 254.4)

  7. Step 600

    600

    #61758E

    oklch(55.6% 0.046 254.2)

  8. Step 700

    700

    #506279

    oklch(49% 0.043 254.7)

  9. Step 800

    800

    #415062

    oklch(42.6% 0.036 253.2)

  10. Step 900

    900 (this color)

    #2D3845

    oklch(33.6% 0.027 252.8)

  11. Step 950

    950

    #21272F

    oklch(27% 0.017 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D3845 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.010
Deuteranopia (no green cones)#3036450.008
Tritanopia (no blue cones)#263B3C0.024
Achromatopsia (no color)#3737370.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3845

    #2D3845

    oklch(33.6% 0.027 252.8)

  • #403527

    #403527

    oklch(33.7% 0.028 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3845

    #2D3845

    oklch(33.6% 0.027 252.8)

  • #273A41

    #273A41

    oklch(33.5% 0.027 222.8)

  • #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°).

  • #2D3845

    #2D3845

    oklch(33.6% 0.027 252.8)

  • #43332C

    #43332C

    oklch(33.7% 0.026 44.8)

  • #393827

    #393827

    oklch(33.6% 0.028 105)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3845

    #2D3845

    oklch(33.6% 0.027 252.8)

  • #443133

    #443133

    oklch(33.6% 0.028 11.6)

  • #323A2C

    #323A2C

    oklch(33.6% 0.026 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3845

    #2D3845

    oklch(33.6% 0.027 252.8)

  • #41313B

    #41313B

    oklch(33.5% 0.028 340.8)

  • #403527

    #403527

    oklch(33.7% 0.028 73.3)

  • #2A3C33

    #2A3C33

    oklch(33.7% 0.028 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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