#152A30

Closest named color: Dark (#1B2431). oklch(27% 0.029 218.2), rgb(21, 42, 48).

Aa

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

About this color

#152A30 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.023 away. White text reads best on it, at 14.93:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.40:1
White text14.93:1

Values

HEX#152A30
RGBrgb(21, 42, 48)
HSLhsl(193, 39%, 14%)
OKLCHoklch(27% 0.029 218.2)

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 #152A30 14.93:1 AAA Lc -104.6 Preferred for body text
Black text on #152A30 1.40:1 Fails Lc 0.0 Not readable
#152A30 text on white 14.93:1 AAA Lc 101.7 Preferred for body text
#152A30 text on black 1.40: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 950.

  1. Step 50

    50

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CCDCE2

    oklch(88.4% 0.019 222.2)

  4. Step 300

    300

    #A9C6D0

    oklch(80.8% 0.034 220.6)

  5. Step 400

    400

    #79A9B8

    oklch(70.6% 0.056 219.2)

  6. Step 500

    500

    #5594A6

    oklch(63.1% 0.07 218.3)

  7. Step 600

    600

    #367E91

    oklch(55.5% 0.077 217.9)

  8. Step 700

    700

    #286A7C

    oklch(49% 0.071 219)

  9. Step 800

    800

    #235765

    oklch(42.8% 0.059 218.3)

  10. Step 900

    900

    #224852

    oklch(37.8% 0.046 217.1)

  11. Step 950

    950 (this color)

    #152A30

    oklch(27% 0.029 218.2)

Export this scale for Tailwind in the Tailwind colors tool

#152A30 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)#2629300.025
Deuteranopia (no green cones)#2226300.022
Tritanopia (no blue cones)#082C2C0.017
Achromatopsia (no color)#2727270.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #152A30

    #152A30

    oklch(27% 0.029 218.2)

  • #33221C

    #33221C

    oklch(27.1% 0.029 40.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152A30

    #152A30

    oklch(27% 0.029 218.2)

  • #142B29

    #142B29

    oklch(26.9% 0.029 188.3)

  • #1B2834

    #1B2834

    oklch(27.1% 0.029 246.9)

Open the analogous palette in the generator

Split complementary

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

  • #152A30

    #152A30

    oklch(27% 0.029 218.2)

  • #332124

    #332124

    oklch(27.1% 0.028 8.1)

  • #302417

    #302417

    oklch(27.1% 0.029 68.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152A30

    #152A30

    oklch(27% 0.029 218.2)

  • #30212B

    #30212B

    oklch(27% 0.029 339.3)

  • #2A2716

    #2A2716

    oklch(27.1% 0.029 99.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152A30

    #152A30

    oklch(27% 0.029 218.2)

  • #2A2332

    #2A2332

    oklch(27.1% 0.029 305.8)

  • #33221C

    #33221C

    oklch(27.1% 0.029 40.3)

  • #22291A

    #22291A

    oklch(26.9% 0.028 128.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #152A30 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.