#24245E

Closest named color: Marine (#042E60). oklch(29.8% 0.101 278.4), rgb(36, 36, 94).

Aa

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

About this color

#24245E is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.101 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.040 away. White text reads best on it, at 14.10:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.48:1
White text14.10:1

Values

HEX#24245E
RGBrgb(36, 36, 94)
HSLhsl(240, 45%, 25%)
OKLCHoklch(29.8% 0.101 278.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 #24245E 14.10:1 AAA Lc -103.6 Preferred for body text
Black text on #24245E 1.48:1 Fails Lc 0.0 Not readable
#24245E text on white 14.10:1 AAA Lc 100.5 Preferred for body text
#24245E text on black 1.48: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FF

    oklch(93.6% 0.031 279.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5D4EFF

    oklch(55.5% 0.25 278.3)

  8. Step 700

    700

    #4E36E6

    oklch(49% 0.247 278.3)

  9. Step 800

    800

    #3F30BA

    oklch(42.7% 0.204 278.2)

  10. Step 900

    900

    #342E93

    oklch(37.8% 0.159 278.2)

  11. Step 950

    950 (this color)

    #24245E

    oklch(29.8% 0.101 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#24245E 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)#002E600.042
Deuteranopia (no green cones)#00295D0.039
Tritanopia (no blue cones)#03323D0.088
Achromatopsia (no color)#2B2B2B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #24245E

    #24245E

    oklch(29.8% 0.101 278.4)

  • #352D00

    #352D00

    oklch(29.7% 0.061 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24245E

    #24245E

    oklch(29.8% 0.101 278.4)

  • #002F53

    #002F53

    oklch(29.8% 0.08 248)

  • #3C1B53

    #3C1B53

    oklch(29.9% 0.101 308.7)

Open the analogous palette in the generator

Split complementary

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

  • #24245E

    #24245E

    oklch(29.8% 0.101 278.4)

  • #422600

    #422600

    oklch(29.8% 0.065 68.5)

  • #213400

    #213400

    oklch(29.7% 0.078 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24245E

    #24245E

    oklch(29.8% 0.101 278.4)

  • #531500

    #531500

    oklch(29.8% 0.097 38.3)

  • #003720

    #003720

    oklch(29.7% 0.068 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24245E

    #24245E

    oklch(29.8% 0.101 278.4)

  • #540E23

    #540E23

    oklch(29.8% 0.101 8.5)

  • #352D00

    #352D00

    oklch(29.7% 0.061 98.6)

  • #003532

    #003532

    oklch(29.7% 0.051 188.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24245E 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.