#293A42

Closest named color: Onyx (#343A40). oklch(33.7% 0.026 228.6), rgb(41, 58, 66).

Aa

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

About this color

#293A42 is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.026. 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.80:1.

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

Values

HEX#293A42
RGBrgb(41, 58, 66)
HSLhsl(199, 23%, 21%)
OKLCHoklch(33.7% 0.026 228.6)

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 #293A42 11.80:1 AAA Lc -100.7 Preferred for body text
Black text on #293A42 1.77:1 Fails Lc 0.0 Not readable
#293A42 text on white 11.80:1 AAA Lc 97.1 Preferred for body text
#293A42 text on black 1.77: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBED

    oklch(93.7% 0.006 223.5)

  3. Step 200

    200

    #D2DBDF

    oklch(88.6% 0.011 226)

  4. Step 300

    300

    #B4C3CB

    oklch(80.8% 0.02 230.8)

  5. Step 400

    400

    #8DA5B0

    oklch(70.7% 0.031 227.2)

  6. Step 500

    500

    #718F9D

    oklch(63.2% 0.04 228)

  7. Step 600

    600

    #597988

    oklch(55.7% 0.043 228.5)

  8. Step 700

    700

    #486673

    oklch(49.2% 0.041 226.7)

  9. Step 800

    800

    #3C535E

    oklch(42.8% 0.033 229)

  10. Step 900

    900 (this color)

    #293A42

    oklch(33.7% 0.026 228.6)

  11. Step 950

    950

    #1E282D

    oklch(27% 0.017 229.8)

Export this scale for Tailwind in the Tailwind colors tool

#293A42 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)#3639420.020
Deuteranopia (no green cones)#3236420.018
Tritanopia (no blue cones)#213C3C0.018
Achromatopsia (no color)#3838380.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #293A42

    #293A42

    oklch(33.7% 0.026 228.6)

  • #43332B

    #43332B

    oklch(33.6% 0.027 47.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #293A42

    #293A42

    oklch(33.7% 0.026 228.6)

  • #273B3C

    #273B3C

    oklch(33.6% 0.026 199.9)

  • #2F3845

    #2F3845

    oklch(33.8% 0.026 257.5)

Open the analogous palette in the generator

Split complementary

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

  • #293A42

    #293A42

    oklch(33.7% 0.026 228.6)

  • #443232

    #443232

    oklch(33.8% 0.026 18.5)

  • #3F3628

    #3F3628

    oklch(33.8% 0.026 78.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #293A42

    #293A42

    oklch(33.7% 0.026 228.6)

  • #423239

    #423239

    oklch(33.8% 0.026 350.5)

  • #383829

    #383829

    oklch(33.6% 0.025 107.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #293A42

    #293A42

    oklch(33.7% 0.026 228.6)

  • #3D3340

    #3D3340

    oklch(33.7% 0.026 318.3)

  • #43332B

    #43332B

    oklch(33.6% 0.027 47.9)

  • #313B2E

    #313B2E

    oklch(33.9% 0.026 138.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #293A42 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.