#24223B

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.046 286.5), rgb(36, 34, 59).

Aa

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

About this color

#24223B is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.046 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.019 away. White text reads best on it, at 15.36:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.046)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.36:1

Values

HEX#24223B
RGBrgb(36, 34, 59)
HSLhsl(245, 27%, 18%)
OKLCHoklch(26.7% 0.046 286.5)

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 #24223B 15.36:1 AAA Lc -105.0 Preferred for body text
Black text on #24223B 1.36:1 Fails Lc 0.0 Not readable
#24223B text on white 15.36:1 AAA Lc 102.2 Preferred for body text
#24223B text on black 1.36: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D7D7ED

    oklch(88.6% 0.03 285.8)

  4. Step 300

    300

    #BDBCE3

    oklch(80.9% 0.055 286.3)

  5. Step 400

    400

    #9C99D5

    oklch(70.8% 0.087 286.2)

  6. Step 500

    500

    #857EC9

    oklch(63% 0.111 287)

  7. Step 600

    600

    #6F67B6

    oklch(55.7% 0.12 286.4)

  8. Step 700

    700

    #5D559D

    oklch(49.1% 0.113 286.6)

  9. Step 800

    800

    #4C467F

    oklch(42.8% 0.093 286.6)

  10. Step 900

    900

    #3F3B66

    oklch(37.7% 0.072 286.6)

  11. Step 950

    950 (this color)

    #24223B

    oklch(26.7% 0.046 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#24223B 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)#1A253C0.018
Deuteranopia (no green cones)#1A243A0.018
Tritanopia (no blue cones)#1E272B0.041
Achromatopsia (no color)#2525250.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #24223B

    #24223B

    oklch(26.7% 0.046 286.5)

  • #282709

    #282709

    oklch(26.6% 0.046 107.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24223B

    #24223B

    oklch(26.7% 0.046 286.5)

  • #16263C

    #16263C

    oklch(26.6% 0.047 256.6)

  • #2F1E35

    #2F1E35

    oklch(26.7% 0.048 317)

Open the analogous palette in the generator

Split complementary

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

  • #24223B

    #24223B

    oklch(26.7% 0.046 286.5)

  • #322208

    #322208

    oklch(26.6% 0.046 76.4)

  • #1B2B14

    #1B2B14

    oklch(26.8% 0.046 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24223B

    #24223B

    oklch(26.7% 0.046 286.5)

  • #381E11

    #381E11

    oklch(26.7% 0.046 46.7)

  • #0A2D21

    #0A2D21

    oklch(26.8% 0.046 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24223B

    #24223B

    oklch(26.7% 0.046 286.5)

  • #391C1E

    #391C1E

    oklch(26.7% 0.046 16.2)

  • #282709

    #282709

    oklch(26.6% 0.046 107.4)

  • #002C2D

    #002C2D

    oklch(26.6% 0.045 197.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24223B 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.