#242152

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.087 282), rgb(36, 33, 82).

Aa

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

About this color

#242152 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.087 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.050 away. White text reads best on it, at 14.84:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.41:1
White text14.84:1

Values

HEX#242152
RGBrgb(36, 33, 82)
HSLhsl(244, 43%, 23%)
OKLCHoklch(28.2% 0.087 282)

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 #242152 14.84:1 AAA Lc -104.4 Preferred for body text
Black text on #242152 1.41:1 Fails Lc 0.0 Not readable
#242152 text on white 14.84:1 AAA Lc 101.5 Preferred for body text
#242152 text on black 1.41: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

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400

    #9391FF

    oklch(70.6% 0.158 282.4)

  6. Step 500

    500

    #7B71FF

    oklch(63.1% 0.204 282)

  7. Step 600

    600

    #6752F1

    oklch(55.6% 0.227 282.1)

  8. Step 700

    700

    #5641D2

    oklch(49.1% 0.211 281.9)

  9. Step 800

    800

    #4637AA

    oklch(42.8% 0.175 281.9)

  10. Step 900

    900

    #3A3186

    oklch(37.6% 0.137 282.4)

  11. Step 950

    950 (this color)

    #242152

    oklch(28.2% 0.087 282)

Export this scale for Tailwind in the Tailwind colors tool

#242152 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)#0529540.040
Deuteranopia (no green cones)#0126510.042
Tritanopia (no blue cones)#122C350.075
Achromatopsia (no color)#2727270.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #242152

    #242152

    oklch(28.2% 0.087 282)

  • #2F2A00

    #2F2A00

    oklch(28.2% 0.059 102.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242152

    #242152

    oklch(28.2% 0.087 282)

  • #002951

    #002951

    oklch(28% 0.085 252.5)

  • #371947

    #371947

    oklch(28% 0.087 312.2)

Open the analogous palette in the generator

Split complementary

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

  • #242152

    #242152

    oklch(28.2% 0.087 282)

  • #3B2300

    #3B2300

    oklch(28% 0.06 71.5)

  • #1A3100

    #1A3100

    oklch(28.3% 0.079 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242152

    #242152

    oklch(28.2% 0.087 282)

  • #4A1600

    #4A1600

    oklch(28.2% 0.085 41.7)

  • #003220

    #003220

    oklch(28% 0.061 162.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242152

    #242152

    oklch(28.2% 0.087 282)

  • #4B111E

    #4B111E

    oklch(28.2% 0.087 11.6)

  • #2F2A00

    #2F2A00

    oklch(28.2% 0.059 102.5)

  • #00312F

    #00312F

    oklch(28.3% 0.049 190.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #242152 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.