#1B1938

Closest named color: Rich Black (#0D1B2A). oklch(23.4% 0.058 283.9), rgb(27, 25, 56).

Aa

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

About this color

#1B1938 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.058 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.038 away. White text reads best on it, at 16.89:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.89:1

Values

HEX#1B1938
RGBrgb(27, 25, 56)
HSLhsl(244, 38%, 16%)
OKLCHoklch(23.4% 0.058 283.9)

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 #1B1938 16.89:1 AAA Lc -106.1 Preferred for body text
Black text on #1B1938 1.24:1 Fails Lc 0.0 Not readable
#1B1938 text on white 16.89:1 AAA Lc 103.7 Preferred for body text
#1B1938 text on black 1.24: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D6F2

    oklch(88.4% 0.038 284)

  4. Step 300

    300

    #BABBEC

    oklch(80.8% 0.069 283.8)

  5. Step 400

    400

    #9897E3

    oklch(70.7% 0.11 283.8)

  6. Step 500

    500

    #807BDB

    oklch(63% 0.142 283.9)

  7. Step 600

    600

    #6B62C8

    oklch(55.5% 0.153 284.2)

  8. Step 700

    700

    #5951AD

    oklch(49.1% 0.142 283.8)

  9. Step 800

    800

    #49438C

    oklch(42.7% 0.117 284)

  10. Step 900

    900

    #3C3970

    oklch(37.6% 0.092 283.5)

  11. Step 950

    950 (this color)

    #1B1938

    oklch(23.4% 0.058 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#1B1938 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)#0C1E390.026
Deuteranopia (no green cones)#0B1C370.025
Tritanopia (no blue cones)#121F250.049
Achromatopsia (no color)#1D1D1D0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B1938

    #1B1938

    oklch(23.4% 0.058 283.9)

  • #221F00

    #221F00

    oklch(23.5% 0.05 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B1938

    #1B1938

    oklch(23.4% 0.058 283.9)

  • #071E38

    #071E38

    oklch(23.3% 0.058 253.6)

  • #281431

    #281431

    oklch(23.4% 0.059 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B1938

    #1B1938

    oklch(23.4% 0.058 283.9)

  • #2C1A00

    #2C1A00

    oklch(23.6% 0.05 74.1)

  • #122304

    #122304

    oklch(23.3% 0.058 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B1938

    #1B1938

    oklch(23.4% 0.058 283.9)

  • #341304

    #341304

    oklch(23.5% 0.059 44.4)

  • #002517

    #002517

    oklch(23.4% 0.05 163.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B1938

    #1B1938

    oklch(23.4% 0.058 283.9)

  • #341015

    #341015

    oklch(23.3% 0.058 14.3)

  • #221F00

    #221F00

    oklch(23.5% 0.05 104.4)

  • #002423

    #002423

    oklch(23.5% 0.04 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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