#231D40

Closest named color: Oxford Blue (#1B263B). oklch(25.8% 0.064 289), rgb(35, 29, 64).

Aa

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

About this color

#231D40 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.064 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 15.89:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.064)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.89:1

Values

HEX#231D40
RGBrgb(35, 29, 64)
HSLhsl(250, 38%, 18%)
OKLCHoklch(25.8% 0.064 289)

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 #231D40 15.89:1 AAA Lc -105.4 Preferred for body text
Black text on #231D40 1.32:1 Fails Lc 0.0 Not readable
#231D40 text on white 15.89:1 AAA Lc 102.8 Preferred for body text
#231D40 text on black 1.32: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #BEB9EF

    oklch(80.8% 0.076 288.8)

  5. Step 400

    400

    #9E93E7

    oklch(70.6% 0.121 288.9)

  6. Step 500

    500

    #8876E0

    oklch(63.1% 0.155 289)

  7. Step 600

    600

    #735CCE

    oklch(55.5% 0.169 289)

  8. Step 700

    700

    #614BB2

    oklch(49.1% 0.157 289.1)

  9. Step 800

    800

    #4F3E90

    oklch(42.6% 0.13 289.2)

  10. Step 900

    900

    #413673

    oklch(37.7% 0.101 288.9)

  11. Step 950

    950 (this color)

    #231D40

    oklch(25.8% 0.064 289)

Export this scale for Tailwind in the Tailwind colors tool

#231D40 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)#1023410.032
Deuteranopia (no green cones)#10213F0.031
Tritanopia (no blue cones)#1B242B0.053
Achromatopsia (no color)#2222220.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #231D40

    #231D40

    oklch(25.8% 0.064 289)

  • #262500

    #262500

    oklch(25.7% 0.056 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231D40

    #231D40

    oklch(25.8% 0.064 289)

  • #0F2342

    #0F2342

    oklch(25.8% 0.064 258.9)

  • #301837

    #301837

    oklch(25.7% 0.064 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #231D40

    #231D40

    oklch(25.8% 0.064 289)

  • #312000

    #312000

    oklch(25.8% 0.054 79.7)

  • #112A09

    #112A09

    oklch(25.6% 0.064 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231D40

    #231D40

    oklch(25.8% 0.064 289)

  • #3B1803

    #3B1803

    oklch(25.7% 0.064 48.9)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231D40

    #231D40

    oklch(25.8% 0.064 289)

  • #3D1417

    #3D1417

    oklch(25.7% 0.065 18.4)

  • #262500

    #262500

    oklch(25.7% 0.056 108.2)

  • #002A2B

    #002A2B

    oklch(25.9% 0.044 197.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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