#12152D

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.048 276.1), rgb(18, 21, 45).

Aa

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

About this color

#12152D is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.048 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.024 away. White text reads best on it, at 17.93:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.048)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.93:1

Values

HEX#12152D
RGBrgb(18, 21, 45)
HSLhsl(233, 43%, 12%)
OKLCHoklch(20.7% 0.048 276.1)

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 #12152D 17.93:1 AAA Lc -106.8 Preferred for body text
Black text on #12152D 1.17:1 Fails Lc 0.0 Not readable
#12152D text on white 17.93:1 AAA Lc 104.6 Preferred for body text
#12152D text on black 1.17: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D3D8EE

    oklch(88.5% 0.031 275.6)

  4. Step 300

    300

    #B6BEE6

    oklch(80.9% 0.057 276.2)

  5. Step 400

    400

    #919CD9

    oklch(70.7% 0.09 276)

  6. Step 500

    500

    #7782CE

    oklch(63% 0.115 276.3)

  7. Step 600

    600

    #606BBB

    oklch(55.6% 0.124 275.7)

  8. Step 700

    700

    #5059A2

    oklch(49.2% 0.116 276)

  9. Step 800

    800

    #414983

    oklch(42.7% 0.096 275.6)

  10. Step 900

    900

    #373D69

    oklch(37.6% 0.075 276.3)

  11. Step 950

    950 (this color)

    #12152D

    oklch(20.7% 0.048 276.1)

Export this scale for Tailwind in the Tailwind colors tool

#12152D 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)#0B182E0.013
Deuteranopia (no green cones)#09162C0.014
Tritanopia (no blue cones)#081A1E0.042
Achromatopsia (no color)#1717170.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #12152D

    #12152D

    oklch(20.7% 0.048 276.1)

  • #1D1700

    #1D1700

    oklch(20.6% 0.042 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12152D

    #12152D

    oklch(20.7% 0.048 276.1)

  • #03192C

    #03192C

    oklch(20.7% 0.048 246.8)

  • #1D1129

    #1D1129

    oklch(20.7% 0.048 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #12152D

    #12152D

    oklch(20.7% 0.048 276.1)

  • #251300

    #251300

    oklch(20.7% 0.045 68.1)

  • #121B02

    #121B02

    oklch(20.6% 0.048 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12152D

    #12152D

    oklch(20.7% 0.048 276.1)

  • #2A0E07

    #2A0E07

    oklch(20.7% 0.049 35.7)

  • #011E0E

    #011E0E

    oklch(20.7% 0.048 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12152D

    #12152D

    oklch(20.7% 0.048 276.1)

  • #290D14

    #290D14

    oklch(20.7% 0.047 6.5)

  • #1D1700

    #1D1700

    oklch(20.6% 0.042 96.4)

  • #001D1A

    #001D1A

    oklch(20.8% 0.037 185.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12152D 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.