#2B4252

Closest named color: Charcoal (#264653). oklch(36.7% 0.04 239.6), rgb(43, 66, 82).

Aa

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

About this color

#2B4252 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.040 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.013 away. White text reads best on it, at 10.47:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.040)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text2.00:1
White text10.47:1

Values

HEX#2B4252
RGBrgb(43, 66, 82)
HSLhsl(205, 31%, 25%)
OKLCHoklch(36.7% 0.04 239.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 #2B4252 10.47:1 AAA Lc -98.3 Preferred for body text
Black text on #2B4252 2.00:1 Fails Lc 9.7 Not readable
#2B4252 text on white 10.47:1 AAA Lc 94.3 Preferred for body text
#2B4252 text on black 2.00:1 Fails Lc -8.3 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D0DBE3

    oklch(88.5% 0.016 239.1)

  4. Step 300

    300

    #B0C4D2

    oklch(81% 0.029 238.3)

  5. Step 400

    400

    #86A5BC

    oklch(70.7% 0.048 240.5)

  6. Step 500

    500

    #678FAB

    oklch(63.1% 0.061 239.5)

  7. Step 600

    600

    #4E7996

    oklch(55.6% 0.066 239)

  8. Step 700

    700

    #3E6680

    oklch(49.2% 0.062 238.3)

  9. Step 800

    800

    #345368

    oklch(42.7% 0.051 239.2)

  10. Step 900

    900 (this color)

    #2B4252

    oklch(36.7% 0.04 239.6)

  11. Step 950

    950

    #1B2832

    oklch(27% 0.026 242)

Export this scale for Tailwind in the Tailwind colors tool

#2B4252 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)#3B42530.023
Deuteranopia (no green cones)#363D520.021
Tritanopia (no blue cones)#1B46470.032
Achromatopsia (no color)#3F3F3F0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B4252

    #2B4252

    oklch(36.7% 0.04 239.6)

  • #4F3A29

    #4F3A29

    oklch(36.7% 0.04 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B4252

    #2B4252

    oklch(36.7% 0.04 239.6)

  • #24454A

    #24454A

    oklch(36.7% 0.04 208.1)

  • #363E54

    #363E54

    oklch(36.6% 0.04 268.9)

Open the analogous palette in the generator

Split complementary

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

  • #2B4252

    #2B4252

    oklch(36.7% 0.04 239.6)

  • #523733

    #523733

    oklch(36.7% 0.04 28.5)

  • #473E26

    #473E26

    oklch(36.7% 0.04 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B4252

    #2B4252

    oklch(36.7% 0.04 239.6)

  • #51363E

    #51363E

    oklch(36.7% 0.04 359.9)

  • #3C422A

    #3C422A

    oklch(36.6% 0.04 119.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B4252

    #2B4252

    oklch(36.7% 0.04 239.6)

  • #4B3749

    #4B3749

    oklch(36.6% 0.04 329.7)

  • #4F3A29

    #4F3A29

    oklch(36.7% 0.04 60.1)

  • #304534

    #304534

    oklch(36.7% 0.039 150)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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