#242548

Closest named color: Oxford Blue (#1B263B). oklch(28.3% 0.063 280.3), rgb(36, 37, 72).

Aa

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

About this color

#242548 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.063 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.030 away. White text reads best on it, at 14.65:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.063)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.65:1

Values

HEX#242548
RGBrgb(36, 37, 72)
HSLhsl(238, 33%, 21%)
OKLCHoklch(28.3% 0.063 280.3)

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 #242548 14.65:1 AAA Lc -104.3 Preferred for body text
Black text on #242548 1.43:1 Fails Lc 0.0 Not readable
#242548 text on white 14.65:1 AAA Lc 101.4 Preferred for body text
#242548 text on black 1.43: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F9

    oklch(93.7% 0.022 280.3)

  3. Step 200

    200

    #D3D7F5

    oklch(88.5% 0.041 279.5)

  4. Step 300

    300

    #B7BCF1

    oklch(81% 0.075 280.4)

  5. Step 400

    400

    #9397EA

    oklch(70.7% 0.121 280.7)

  6. Step 500

    500

    #7A7BE3

    oklch(63% 0.154 280.6)

  7. Step 600

    600

    #6462D1

    oklch(55.6% 0.167 280.3)

  8. Step 700

    700

    #5350B5

    oklch(49% 0.155 280.3)

  9. Step 800

    800

    #444293

    oklch(42.6% 0.13 280.5)

  10. Step 900

    900

    #393975

    oklch(37.7% 0.1 280.5)

  11. Step 950

    950 (this color)

    #242548

    oklch(28.3% 0.063 280.3)

Export this scale for Tailwind in the Tailwind colors tool

#242548 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)#182A490.022
Deuteranopia (no green cones)#1527470.022
Tritanopia (no blue cones)#182C330.054
Achromatopsia (no color)#2828280.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #242548

    #242548

    oklch(28.3% 0.063 280.3)

  • #302A00

    #302A00

    oklch(28.3% 0.059 101)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242548

    #242548

    oklch(28.3% 0.063 280.3)

  • #0D2B47

    #0D2B47

    oklch(28.3% 0.063 249.7)

  • #332041

    #332041

    oklch(28.4% 0.063 309.4)

Open the analogous palette in the generator

Split complementary

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

  • #242548

    #242548

    oklch(28.3% 0.063 280.3)

  • #3C2300

    #3C2300

    oklch(28.2% 0.061 70.2)

  • #1F300A

    #1F300A

    oklch(28.5% 0.064 130.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242548

    #242548

    oklch(28.3% 0.063 280.3)

  • #431D0F

    #431D0F

    oklch(28.3% 0.063 40.4)

  • #00331F

    #00331F

    oklch(28.3% 0.063 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242548

    #242548

    oklch(28.3% 0.063 280.3)

  • #431A22

    #431A22

    oklch(28.2% 0.064 9.9)

  • #302A00

    #302A00

    oklch(28.3% 0.059 101)

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

Similar named colors

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

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