#2D3F4B

Closest named color: Onyx (#343A40). oklch(35.7% 0.031 238), rgb(45, 63, 75).

Aa

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

About this color

#2D3F4B is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.031 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.022 away. White text reads best on it, at 10.91:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.031)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.92:1
White text10.91:1

Values

HEX#2D3F4B
RGBrgb(45, 63, 75)
HSLhsl(204, 25%, 24%)
OKLCHoklch(35.7% 0.031 238)

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 #2D3F4B 10.91:1 AAA Lc -99.1 Preferred for body text
Black text on #2D3F4B 1.92:1 Fails Lc 8.7 Not readable
#2D3F4B text on white 10.91:1 AAA Lc 95.2 Preferred for body text
#2D3F4B 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

    #D2DBE1

    oklch(88.6% 0.013 236.6)

  4. Step 300

    300

    #B3C3CE

    oklch(80.8% 0.023 237.7)

  5. Step 400

    400

    #8CA5B6

    oklch(70.9% 0.037 237.8)

  6. Step 500

    500

    #6F8EA3

    oklch(63.1% 0.047 238.1)

  7. Step 600

    600

    #56788E

    oklch(55.5% 0.052 237.3)

  8. Step 700

    700

    #466579

    oklch(49.1% 0.048 237.4)

  9. Step 800

    800

    #3A5263

    oklch(42.6% 0.041 239.8)

  10. Step 900

    900 (this color)

    #2D3F4B

    oklch(35.7% 0.031 238)

  11. Step 950

    950

    #1D282F

    oklch(27% 0.02 236.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D3F4B 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)#3A3F4C0.020
Deuteranopia (no green cones)#363B4B0.018
Tritanopia (no blue cones)#2342430.024
Achromatopsia (no color)#3D3D3D0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3F4B

    #2D3F4B

    oklch(35.7% 0.031 238)

  • #49392C

    #49392C

    oklch(35.8% 0.031 60.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3F4B

    #2D3F4B

    oklch(35.7% 0.031 238)

  • #284145

    #284145

    oklch(35.7% 0.032 208.5)

  • #353C4D

    #353C4D

    oklch(35.7% 0.031 267.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D3F4B

    #2D3F4B

    oklch(35.7% 0.031 238)

  • #4C3633

    #4C3633

    oklch(35.7% 0.032 27.6)

  • #433C2A

    #433C2A

    oklch(35.8% 0.031 89.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3F4B

    #2D3F4B

    oklch(35.7% 0.031 238)

  • #4A363C

    #4A363C

    oklch(35.7% 0.03 359)

  • #3B3F2C

    #3B3F2C

    oklch(35.8% 0.032 117.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3F4B

    #2D3F4B

    oklch(35.7% 0.031 238)

  • #463745

    #463745

    oklch(35.8% 0.031 328.4)

  • #49392C

    #49392C

    oklch(35.8% 0.031 60.7)

  • #314133

    #314133

    oklch(35.7% 0.032 148.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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