#152A38

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.038 239.3), rgb(21, 42, 56).

Aa

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

About this color

#152A38 is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.038 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.018 away. White text reads best on it, at 14.78:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.038)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.78:1

Values

HEX#152A38
RGBrgb(21, 42, 56)
HSLhsl(204, 45%, 15%)
OKLCHoklch(27.4% 0.038 239.3)

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 #152A38 14.78:1 AAA Lc -104.4 Preferred for body text
Black text on #152A38 1.42:1 Fails Lc 0.0 Not readable
#152A38 text on white 14.78:1 AAA Lc 101.6 Preferred for body text
#152A38 text on black 1.42: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CBDCE8

    oklch(88.5% 0.025 238.4)

  4. Step 300

    300

    #A7C5DB

    oklch(80.8% 0.045 239.9)

  5. Step 400

    400

    #77A7C9

    oklch(70.7% 0.072 239.9)

  6. Step 500

    500

    #5291BB

    oklch(63.2% 0.091 239.6)

  7. Step 600

    600

    #337AA7

    oklch(55.5% 0.099 239.9)

  8. Step 700

    700

    #25678F

    oklch(49.1% 0.092 239.4)

  9. Step 800

    800

    #205474

    oklch(42.6% 0.076 239.2)

  10. Step 900

    900

    #20465E

    oklch(37.8% 0.06 238.8)

  11. Step 950

    950 (this color)

    #152A38

    oklch(27.4% 0.038 239.3)

Export this scale for Tailwind in the Tailwind colors tool

#152A38 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)#242A390.022
Deuteranopia (no green cones)#1F26380.018
Tritanopia (no blue cones)#022E2F0.031
Achromatopsia (no color)#2828280.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #152A38

    #152A38

    oklch(27.4% 0.038 239.3)

  • #352314

    #352314

    oklch(27.4% 0.037 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152A38

    #152A38

    oklch(27.4% 0.038 239.3)

  • #0D2D31

    #0D2D31

    oklch(27.6% 0.038 206.6)

  • #20273A

    #20273A

    oklch(27.5% 0.037 268.4)

Open the analogous palette in the generator

Split complementary

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

  • #152A38

    #152A38

    oklch(27.4% 0.038 239.3)

  • #38201D

    #38201D

    oklch(27.4% 0.038 27.5)

  • #2F2711

    #2F2711

    oklch(27.6% 0.037 89.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152A38

    #152A38

    oklch(27.4% 0.038 239.3)

  • #372027

    #372027

    oklch(27.6% 0.037 0.1)

  • #252A14

    #252A14

    oklch(27.4% 0.038 119.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152A38

    #152A38

    oklch(27.4% 0.038 239.3)

  • #322130

    #322130

    oklch(27.5% 0.036 330.6)

  • #352314

    #352314

    oklch(27.4% 0.037 60.1)

  • #1A2D1D

    #1A2D1D

    oklch(27.5% 0.039 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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