#231F42

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.064 286.4), rgb(35, 31, 66).

Aa

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

About this color

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

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

Values

HEX#231F42
RGBrgb(35, 31, 66)
HSLhsl(247, 36%, 19%)
OKLCHoklch(26.4% 0.064 286.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 #231F42 15.60:1 AAA Lc -105.1 Preferred for body text
Black text on #231F42 1.34:1 Fails Lc 0.0 Not readable
#231F42 text on white 15.60:1 AAA Lc 102.5 Preferred for body text
#231F42 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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F4

    oklch(88.5% 0.041 285.5)

  4. Step 300

    300

    #BCBAF0

    oklch(80.9% 0.076 286.3)

  5. Step 400

    400

    #9B94E8

    oklch(70.6% 0.121 286.7)

  6. Step 500

    500

    #8478E1

    oklch(63.1% 0.154 286.3)

  7. Step 600

    600

    #6F5ECF

    oklch(55.6% 0.168 286.5)

  8. Step 700

    700

    #5D4DB3

    oklch(49.1% 0.156 286.4)

  9. Step 800

    800

    #4C4091

    oklch(42.8% 0.129 286.4)

  10. Step 900

    900

    #3F3774

    oklch(37.8% 0.101 286.5)

  11. Step 950

    950 (this color)

    #231F42

    oklch(26.4% 0.064 286.4)

Export this scale for Tailwind in the Tailwind colors tool

#231F42 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)#1125430.031
Deuteranopia (no green cones)#1123410.029
Tritanopia (no blue cones)#1A262D0.054
Achromatopsia (no color)#2424240.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #231F42

    #231F42

    oklch(26.4% 0.064 286.4)

  • #282600

    #282600

    oklch(26.2% 0.056 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231F42

    #231F42

    oklch(26.4% 0.064 286.4)

  • #0E2543

    #0E2543

    oklch(26.4% 0.063 256.1)

  • #311A39

    #311A39

    oklch(26.4% 0.063 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #231F42

    #231F42

    oklch(26.4% 0.064 286.4)

  • #342100

    #342100

    oklch(26.5% 0.055 77.2)

  • #152C09

    #152C09

    oklch(26.5% 0.065 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231F42

    #231F42

    oklch(26.4% 0.064 286.4)

  • #3D1906

    #3D1906

    oklch(26.3% 0.064 46)

  • #002D1F

    #002D1F

    oklch(26.4% 0.054 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231F42

    #231F42

    oklch(26.4% 0.064 286.4)

  • #3E161A

    #3E161A

    oklch(26.3% 0.063 16.4)

  • #282600

    #282600

    oklch(26.2% 0.056 106.7)

  • #002B2C

    #002B2C

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

Similar named colors

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

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