#231A3F

Closest named color: Oxford Blue (#1B263B). oklch(25% 0.068 292), rgb(35, 26, 63).

Aa

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

About this color

#231A3F is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.068 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.042 away. White text reads best on it, at 16.26:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.068)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.29:1
White text16.26:1

Values

HEX#231A3F
RGBrgb(35, 26, 63)
HSLhsl(255, 42%, 17%)
OKLCHoklch(25% 0.068 292)

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 #231A3F 16.26:1 AAA Lc -105.6 Preferred for body text
Black text on #231A3F 1.29:1 Fails Lc 0.0 Not readable
#231A3F text on white 16.26:1 AAA Lc 103.1 Preferred for body text
#231A3F text on black 1.29: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

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #D9D4F5

    oklch(88.4% 0.045 292.4)

  4. Step 300

    300

    #C1B8F1

    oklch(81% 0.08 291.7)

  5. Step 400

    400

    #A391EA

    oklch(70.8% 0.128 292.1)

  6. Step 500

    500

    #8D73E3

    oklch(63.1% 0.164 291.7)

  7. Step 600

    600

    #7958D1

    oklch(55.6% 0.179 292.2)

  8. Step 700

    700

    #6647B5

    oklch(49.1% 0.166 292.1)

  9. Step 800

    800

    #533B92

    oklch(42.6% 0.137 292.3)

  10. Step 900

    900

    #443475

    oklch(37.8% 0.107 291.8)

  11. Step 950

    950 (this color)

    #231A3F

    oklch(25% 0.068 292)

Export this scale for Tailwind in the Tailwind colors tool

#231A3F 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)#0B21400.040
Deuteranopia (no green cones)#0C1F3E0.038
Tritanopia (no blue cones)#1C22290.056
Achromatopsia (no color)#2020200.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #231A3F

    #231A3F

    oklch(25% 0.068 292)

  • #232400

    #232400

    oklch(25.1% 0.055 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231A3F

    #231A3F

    oklch(25% 0.068 292)

  • #0F2042

    #0F2042

    oklch(25% 0.068 262.5)

  • #301535

    #301535

    oklch(25.1% 0.068 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #231A3F

    #231A3F

    oklch(25% 0.068 292)

  • #2E1F00

    #2E1F00

    oklch(25.1% 0.052 82.4)

  • #0B2908

    #0B2908

    oklch(24.9% 0.067 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231A3F

    #231A3F

    oklch(25% 0.068 292)

  • #391700

    #391700

    oklch(25.1% 0.064 52.2)

  • #00291F

    #00291F

    oklch(25% 0.048 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231A3F

    #231A3F

    oklch(25% 0.068 292)

  • #3C1112

    #3C1112

    oklch(25% 0.068 22.1)

  • #232400

    #232400

    oklch(25.1% 0.055 111.3)

  • #00282A

    #00282A

    oklch(25.2% 0.043 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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