#1D1B3A

Closest named color: Oxford Blue (#1B263B). oklch(24.2% 0.058 284.1), rgb(29, 27, 58).

Aa

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

About this color

#1D1B3A is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.058 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.036 away. White text reads best on it, at 16.53:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.27:1
White text16.53:1

Values

HEX#1D1B3A
RGBrgb(29, 27, 58)
HSLhsl(244, 36%, 17%)
OKLCHoklch(24.2% 0.058 284.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 #1D1B3A 16.53:1 AAA Lc -105.9 Preferred for body text
Black text on #1D1B3A 1.27:1 Fails Lc 0.0 Not readable
#1D1B3A text on white 16.53:1 AAA Lc 103.4 Preferred for body text
#1D1B3A text on black 1.27: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

    #BBBBEC

    oklch(80.9% 0.069 284.8)

  5. Step 400

    400

    #9897E3

    oklch(70.7% 0.11 283.8)

  6. Step 500

    500

    #817BDA

    oklch(63.1% 0.14 284.5)

  7. Step 600

    600

    #6B62C8

    oklch(55.5% 0.153 284.2)

  8. Step 700

    700

    #5A51AD

    oklch(49.2% 0.142 284.3)

  9. Step 800

    800

    #49438C

    oklch(42.7% 0.117 284)

  10. Step 900

    900

    #3D3970

    oklch(37.7% 0.092 284.4)

  11. Step 950

    950 (this color)

    #1D1B3A

    oklch(24.2% 0.058 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#1D1B3A 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)#0F203B0.025
Deuteranopia (no green cones)#0E1E390.024
Tritanopia (no blue cones)#1421270.049
Achromatopsia (no color)#1F1F1F0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D1B3A

    #1D1B3A

    oklch(24.2% 0.058 284.1)

  • #242100

    #242100

    oklch(24.3% 0.052 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D1B3A

    #1D1B3A

    oklch(24.2% 0.058 284.1)

  • #0A203A

    #0A203A

    oklch(24.2% 0.057 254.3)

  • #2A1633

    #2A1633

    oklch(24.2% 0.059 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #1D1B3A

    #1D1B3A

    oklch(24.2% 0.058 284.1)

  • #2E1B00

    #2E1B00

    oklch(24.1% 0.051 73.2)

  • #142506

    #142506

    oklch(24.1% 0.057 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D1B3A

    #1D1B3A

    oklch(24.2% 0.058 284.1)

  • #361506

    #361506

    oklch(24.3% 0.058 43.8)

  • #002719

    #002719

    oklch(24.1% 0.051 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D1B3A

    #1D1B3A

    oklch(24.2% 0.058 284.1)

  • #361217

    #361217

    oklch(24.1% 0.058 14)

  • #242100

    #242100

    oklch(24.3% 0.052 104.6)

  • #002626

    #002626

    oklch(24.3% 0.042 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 #1D1B3A, closest first.

Similar named colors

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

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