#1B153F

Closest named color: Dark Indigo (#1F0954). oklch(23.1% 0.077 285.2), rgb(27, 21, 63).

Aa

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

About this color

#1B153F is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.077 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.045 away. White text reads best on it, at 17.13:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.22:1
White text17.13:1

Values

HEX#1B153F
RGBrgb(27, 21, 63)
HSLhsl(249, 50%, 16%)
OKLCHoklch(23.1% 0.077 285.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 #1B153F 17.13:1 AAA Lc -106.2 Preferred for body text
Black text on #1B153F 1.22:1 Fails Lc 0.0 Not readable
#1B153F text on white 17.13:1 AAA Lc 103.8 Preferred for body text
#1B153F text on black 1.22: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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9FA

    oklch(81% 0.091 284.9)

  5. Step 400

    400

    #9891F7

    oklch(70.6% 0.147 285.1)

  6. Step 500

    500

    #8272F3

    oklch(63% 0.186 285.4)

  7. Step 600

    600

    #6D57E2

    oklch(55.7% 0.202 285)

  8. Step 700

    700

    #5C45C4

    oklch(49% 0.188 285.4)

  9. Step 800

    800

    #4B3A9F

    oklch(42.7% 0.156 285.4)

  10. Step 900

    900

    #3E337E

    oklch(37.7% 0.122 285.6)

  11. Step 950

    950 (this color)

    #1B153F

    oklch(23.1% 0.077 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#1B153F 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)#001D400.040
Deuteranopia (no green cones)#001A3E0.039
Tritanopia (no blue cones)#0E1F270.065
Achromatopsia (no color)#1B1B1B0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B153F

    #1B153F

    oklch(23.1% 0.077 285.2)

  • #211E00

    #211E00

    oklch(23.1% 0.049 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B153F

    #1B153F

    oklch(23.1% 0.077 285.2)

  • #001C40

    #001C40

    oklch(23.1% 0.077 255.4)

  • #2A0F35

    #2A0F35

    oklch(23.1% 0.076 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #1B153F

    #1B153F

    oklch(23.1% 0.077 285.2)

  • #2A1900

    #2A1900

    oklch(23% 0.049 75)

  • #0D2400

    #0D2400

    oklch(23.2% 0.068 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B153F

    #1B153F

    oklch(23.1% 0.077 285.2)

  • #351000

    #351000

    oklch(23.1% 0.066 44.9)

  • #002417

    #002417

    oklch(23.1% 0.049 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B153F

    #1B153F

    oklch(23.1% 0.077 285.2)

  • #390811

    #390811

    oklch(23.1% 0.076 15.2)

  • #211E00

    #211E00

    oklch(23.1% 0.049 104.3)

  • #002323

    #002323

    oklch(23.2% 0.04 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B153F 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.