#231B5A

Closest named color: Dark Indigo (#1F0954). oklch(27.6% 0.108 282.4), rgb(35, 27, 90).

Aa

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

About this color

#231B5A is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.108 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.040 away. White text reads best on it, at 15.26:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.37:1
White text15.26:1

Values

HEX#231B5A
RGBrgb(35, 27, 90)
HSLhsl(248, 54%, 23%)
OKLCHoklch(27.6% 0.108 282.4)

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 #231B5A 15.26:1 AAA Lc -104.6 Preferred for body text
Black text on #231B5A 1.37:1 Fails Lc 0.0 Not readable
#231B5A text on white 15.26:1 AAA Lc 101.8 Preferred for body text
#231B5A text on black 1.37: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B7B9FF

    oklch(80.9% 0.098 282.7)

  5. Step 400

    400

    #9391FF

    oklch(70.6% 0.158 282.4)

  6. Step 500

    500

    #7C70FF

    oklch(63.1% 0.205 282.6)

  7. Step 600

    600

    #6948FF

    oklch(55.6% 0.254 282.6)

  8. Step 700

    700

    #5A26ED

    oklch(49.1% 0.264 282.7)

  9. Step 800

    800

    #4825C0

    oklch(42.7% 0.219 282.2)

  10. Step 900

    900

    #3B2797

    oklch(37.7% 0.171 282.6)

  11. Step 950

    950 (this color)

    #231B5A

    oklch(27.6% 0.108 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#231B5A 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)#00275C0.046
Deuteranopia (no green cones)#0023590.044
Tritanopia (no blue cones)#072B370.092
Achromatopsia (no color)#2525250.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #231B5A

    #231B5A

    oklch(27.6% 0.108 282.4)

  • #2D2900

    #2D2900

    oklch(27.7% 0.058 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231B5A

    #231B5A

    oklch(27.6% 0.108 282.4)

  • #00284F

    #00284F

    oklch(27.6% 0.083 252.3)

  • #39114D

    #39114D

    oklch(27.6% 0.108 311.9)

Open the analogous palette in the generator

Split complementary

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

  • #231B5A

    #231B5A

    oklch(27.6% 0.108 282.4)

  • #392200

    #392200

    oklch(27.5% 0.059 72.2)

  • #182F00

    #182F00

    oklch(27.5% 0.077 132.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231B5A

    #231B5A

    oklch(27.6% 0.108 282.4)

  • #471600

    #471600

    oklch(27.6% 0.082 42.9)

  • #00311F

    #00311F

    oklch(27.7% 0.06 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231B5A

    #231B5A

    oklch(27.6% 0.108 282.4)

  • #500219

    #500219

    oklch(27.7% 0.108 12.5)

  • #2D2900

    #2D2900

    oklch(27.7% 0.058 103.9)

  • #002F2E

    #002F2E

    oklch(27.6% 0.047 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #231B5A 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.