#2A4150

Closest named color: Charcoal (#264653). oklch(36.3% 0.039 237.8), rgb(42, 65, 80).

Aa

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

About this color

#2A4150 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.039 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.016 away. White text reads best on it, at 10.65:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.039)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.97:1
White text10.65:1

Values

HEX#2A4150
RGBrgb(42, 65, 80)
HSLhsl(204, 31%, 24%)
OKLCHoklch(36.3% 0.039 237.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 #2A4150 10.65:1 AAA Lc -98.6 Preferred for body text
Black text on #2A4150 1.97:1 Fails Lc 9.2 Not readable
#2A4150 text on white 10.65:1 AAA Lc 94.7 Preferred for body text
#2A4150 text on black 1.97:1 Fails Lc -7.9 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

    #B0C4D1

    oklch(80.9% 0.029 236.3)

  5. Step 400

    400

    #86A5BB

    oklch(70.6% 0.047 239.2)

  6. Step 500

    500

    #678FAA

    oklch(63.1% 0.06 238.5)

  7. Step 600

    600

    #4E7995

    oklch(55.6% 0.065 238.1)

  8. Step 700

    700

    #3F667F

    oklch(49.2% 0.06 237.8)

  9. Step 800

    800

    #345367

    oklch(42.7% 0.05 237.8)

  10. Step 900

    900 (this color)

    #2A4150

    oklch(36.3% 0.039 237.8)

  11. Step 950

    950

    #1B2831

    oklch(26.9% 0.025 239.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A4150 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)#3A41510.023
Deuteranopia (no green cones)#353C500.021
Tritanopia (no blue cones)#1B45460.030
Achromatopsia (no color)#3E3E3E0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4150

    #2A4150

    oklch(36.3% 0.039 237.8)

  • #4E3929

    #4E3929

    oklch(36.4% 0.04 58.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4150

    #2A4150

    oklch(36.3% 0.039 237.8)

  • #244448

    #244448

    oklch(36.4% 0.038 206)

  • #353D53

    #353D53

    oklch(36.2% 0.04 268.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A4150

    #2A4150

    oklch(36.3% 0.039 237.8)

  • #503633

    #503633

    oklch(36.2% 0.038 26.5)

  • #463D26

    #463D26

    oklch(36.3% 0.038 89)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4150

    #2A4150

    oklch(36.3% 0.039 237.8)

  • #4F353E

    #4F353E

    oklch(36.2% 0.04 356.8)

  • #3C4129

    #3C4129

    oklch(36.4% 0.039 118)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4150

    #2A4150

    oklch(36.3% 0.039 237.8)

  • #493748

    #493748

    oklch(36.3% 0.037 328.1)

  • #4E3929

    #4E3929

    oklch(36.4% 0.04 58.4)

  • #304432

    #304432

    oklch(36.4% 0.04 147.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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