#231E46

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.072 286.1), rgb(35, 30, 70).

Aa

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

About this color

#231E46 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.072 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 15.60:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.60:1

Values

HEX#231E46
RGBrgb(35, 30, 70)
HSLhsl(248, 40%, 20%)
OKLCHoklch(26.4% 0.072 286.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 #231E46 15.60:1 AAA Lc -105.1 Preferred for body text
Black text on #231E46 1.34:1 Fails Lc 0.0 Not readable
#231E46 text on white 15.60:1 AAA Lc 102.4 Preferred for body text
#231E46 text on black 1.34: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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BBB9F6

    oklch(80.9% 0.086 285.8)

  5. Step 400

    400

    #9A92F1

    oklch(70.6% 0.137 286.2)

  6. Step 500

    500

    #8374ED

    oklch(63.1% 0.176 285.9)

  7. Step 600

    600

    #6F59DB

    oklch(55.6% 0.19 286.2)

  8. Step 700

    700

    #5D48BE

    oklch(49.1% 0.177 286.1)

  9. Step 800

    800

    #4C3C9A

    oklch(42.8% 0.147 286.2)

  10. Step 900

    900

    #3E357A

    oklch(37.7% 0.113 285.6)

  11. Step 950

    950 (this color)

    #231E46

    oklch(26.4% 0.072 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#231E46 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)#0C25470.036
Deuteranopia (no green cones)#0B22450.035
Tritanopia (no blue cones)#18262E0.061
Achromatopsia (no color)#2424240.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #231E46

    #231E46

    oklch(26.4% 0.072 286.1)

  • #292600

    #292600

    oklch(26.3% 0.056 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231E46

    #231E46

    oklch(26.4% 0.072 286.1)

  • #092547

    #092547

    oklch(26.5% 0.072 255.4)

  • #32183C

    #32183C

    oklch(26.3% 0.072 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #231E46

    #231E46

    oklch(26.4% 0.072 286.1)

  • #342100

    #342100

    oklch(26.5% 0.055 77.2)

  • #132C04

    #132C04

    oklch(26.3% 0.071 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231E46

    #231E46

    oklch(26.4% 0.072 286.1)

  • #401701

    #401701

    oklch(26.4% 0.072 46.4)

  • #002D1F

    #002D1F

    oklch(26.4% 0.054 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231E46

    #231E46

    oklch(26.4% 0.072 286.1)

  • #411319

    #411319

    oklch(26.4% 0.071 15.7)

  • #292600

    #292600

    oklch(26.3% 0.056 105.1)

  • #002C2C

    #002C2C

    oklch(26.5% 0.045 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 #231E46, closest first.

Similar named colors

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

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