#231E4A

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.079 284.9), rgb(35, 30, 74).

Aa

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

About this color

#231E4A is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.079 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.043 away. White text reads best on it, at 15.48:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.48:1

Values

HEX#231E4A
RGBrgb(35, 30, 74)
HSLhsl(247, 42%, 20%)
OKLCHoklch(26.8% 0.079 284.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 #231E4A 15.48:1 AAA Lc -105.0 Preferred for body text
Black text on #231E4A 1.35:1 Fails Lc 0.0 Not readable
#231E4A text on white 15.48:1 AAA Lc 102.3 Preferred for body text
#231E4A text on black 1.35: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

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300

    #BAB9FB

    oklch(81% 0.093 284.8)

  5. Step 400

    400

    #9891F9

    oklch(70.7% 0.149 285)

  6. Step 500

    500

    #8172F6

    oklch(63.2% 0.19 284.7)

  7. Step 600

    600

    #6D55E5

    oklch(55.6% 0.208 285)

  8. Step 700

    700

    #5B44C7

    oklch(49% 0.194 284.8)

  9. Step 800

    800

    #4A39A1

    oklch(42.6% 0.161 284.8)

  10. Step 900

    900

    #3D3380

    oklch(37.7% 0.125 284.6)

  11. Step 950

    950 (this color)

    #231E4A

    oklch(26.8% 0.079 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#231E4A 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)#07254C0.039
Deuteranopia (no green cones)#0623490.039
Tritanopia (no blue cones)#1628300.068
Achromatopsia (no color)#2424240.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #231E4A

    #231E4A

    oklch(26.8% 0.079 284.9)

  • #2A2700

    #2A2700

    oklch(26.7% 0.057 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231E4A

    #231E4A

    oklch(26.8% 0.079 284.9)

  • #05254B

    #05254B

    oklch(26.7% 0.079 255.3)

  • #341740

    #341740

    oklch(26.7% 0.08 315)

Open the analogous palette in the generator

Split complementary

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

  • #231E4A

    #231E4A

    oklch(26.8% 0.079 284.9)

  • #362100

    #362100

    oklch(26.8% 0.057 74.3)

  • #132E00

    #132E00

    oklch(26.9% 0.079 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231E4A

    #231E4A

    oklch(26.8% 0.079 284.9)

  • #431600

    #431600

    oklch(26.8% 0.077 44.6)

  • #002E1F

    #002E1F

    oklch(26.7% 0.056 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231E4A

    #231E4A

    oklch(26.8% 0.079 284.9)

  • #441119

    #441119

    oklch(26.7% 0.078 15.1)

  • #2A2700

    #2A2700

    oklch(26.7% 0.057 105.2)

  • #002D2D

    #002D2D

    oklch(26.9% 0.046 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 #231E4A, closest first.

Similar named colors

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

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