#2D3F4A

Closest named color: Onyx (#343A40). oklch(35.7% 0.03 235.5), rgb(45, 63, 74).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.92:1
White text10.92:1

Values

HEX#2D3F4A
RGBrgb(45, 63, 74)
HSLhsl(203, 24%, 23%)
OKLCHoklch(35.7% 0.03 235.5)

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 #2D3F4A 10.92:1 AAA Lc -99.1 Preferred for body text
Black text on #2D3F4A 1.92:1 Fails Lc 8.6 Not readable
#2D3F4A text on white 10.92:1 AAA Lc 95.3 Preferred for body text
#2D3F4A text on black 1.92:1 Fails Lc -7.4 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

    #E6EBEE

    oklch(93.7% 0.007 233.6)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B3C3CD

    oklch(80.8% 0.023 235.1)

  5. Step 400

    400

    #8CA5B4

    oklch(70.8% 0.035 234.3)

  6. Step 500

    500

    #6F8EA2

    oklch(63% 0.046 236.8)

  7. Step 600

    600

    #57788D

    oklch(55.6% 0.05 236.8)

  8. Step 700

    700

    #476578

    oklch(49.1% 0.047 236.8)

  9. Step 800

    800

    #3A5361

    oklch(42.8% 0.038 233.4)

  10. Step 900

    900 (this color)

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  11. Step 950

    950

    #1E282F

    oklch(27% 0.019 238.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D3F4A 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)#3A3E4B0.020
Deuteranopia (no green cones)#363B4A0.018
Tritanopia (no blue cones)#2342420.024
Achromatopsia (no color)#3D3D3D0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3F4A

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  • #49382D

    #49382D

    oklch(35.6% 0.03 54.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3F4A

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  • #294144

    #294144

    oklch(35.7% 0.03 205.8)

  • #353C4C

    #353C4C

    oklch(35.6% 0.029 266.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D3F4A

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  • #4B3634

    #4B3634

    oklch(35.6% 0.031 24.9)

  • #433B2A

    #433B2A

    oklch(35.6% 0.03 85.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3F4A

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  • #49363D

    #49363D

    oklch(35.7% 0.029 354.7)

  • #3B3E2C

    #3B3E2C

    oklch(35.5% 0.03 115.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3F4A

    #2D3F4A

    oklch(35.7% 0.03 235.5)

  • #453745

    #453745

    oklch(35.7% 0.03 326.2)

  • #49382D

    #49382D

    oklch(35.6% 0.03 54.4)

  • #324133

    #324133

    oklch(35.7% 0.031 146.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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