#231E4B

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.08 284.6), rgb(35, 30, 75).

Aa

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

About this color

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

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

Values

HEX#231E4B
RGBrgb(35, 30, 75)
HSLhsl(247, 43%, 21%)
OKLCHoklch(26.8% 0.08 284.6)

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 #231E4B 15.45:1 AAA Lc -104.9 Preferred for body text
Black text on #231E4B 1.35:1 Fails Lc 0.0 Not readable
#231E4B text on white 15.45:1 AAA Lc 102.2 Preferred for body text
#231E4B 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

    #D4D5FC

    oklch(88.5% 0.053 284.1)

  4. Step 300

    300

    #B9B8FC

    oklch(80.8% 0.095 284.7)

  5. Step 400

    400

    #9791FB

    oklch(70.7% 0.152 284.4)

  6. Step 500

    500

    #8171F8

    oklch(63.1% 0.194 284.8)

  7. Step 600

    600

    #6C54E7

    oklch(55.5% 0.212 284.6)

  8. Step 700

    700

    #5B43C9

    oklch(49.1% 0.197 284.7)

  9. Step 800

    800

    #4A39A2

    oklch(42.7% 0.162 284.6)

  10. Step 900

    900

    #3D3281

    oklch(37.6% 0.128 284.8)

  11. Step 950

    950 (this color)

    #231E4B

    oklch(26.8% 0.08 284.6)

Export this scale for Tailwind in the Tailwind colors tool

#231E4B 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)#06264D0.040
Deuteranopia (no green cones)#04234A0.041
Tritanopia (no blue cones)#1528310.068
Achromatopsia (no color)#2424240.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #231E4B

    #231E4B

    oklch(26.8% 0.08 284.6)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231E4B

    #231E4B

    oklch(26.8% 0.08 284.6)

  • #04264C

    #04264C

    oklch(27% 0.08 254.4)

  • #341741

    #341741

    oklch(26.8% 0.081 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #231E4B

    #231E4B

    oklch(26.8% 0.08 284.6)

  • #362100

    #362100

    oklch(26.8% 0.057 74.3)

  • #142E00

    #142E00

    oklch(27% 0.078 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231E4B

    #231E4B

    oklch(26.8% 0.08 284.6)

  • #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.

  • #231E4B

    #231E4B

    oklch(26.8% 0.08 284.6)

  • #451019

    #451019

    oklch(26.8% 0.081 14.7)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

  • #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 #231E4B, closest first.

Similar named colors

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

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