#24337E

Closest named color: Twilight Blue (#0A437A). oklch(35.7% 0.128 270.1), rgb(36, 51, 126).

Aa

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

About this color

#24337E is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.128 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.047 away. White text reads best on it, at 11.35:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.84:1
White text11.35:1

Values

HEX#24337E
RGBrgb(36, 51, 126)
HSLhsl(230, 56%, 32%)
OKLCHoklch(35.7% 0.128 270.1)

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 #24337E 11.35:1 AAA Lc -99.6 Preferred for body text
Black text on #24337E 1.84:1 Fails Lc 8.1 Not readable
#24337E text on white 11.35:1 AAA Lc 95.8 Preferred for body text
#24337E text on black 1.84: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 900.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2E9FD

    oklch(93.5% 0.028 270.4)

  3. Step 200

    200

    #CBD8FD

    oklch(88.4% 0.053 270)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400

    #7C99FF

    oklch(70.6% 0.153 270.2)

  6. Step 500

    500

    #5D7CFE

    oklch(63.1% 0.196 269.9)

  7. Step 600

    600

    #4760ED

    oklch(55.5% 0.213 270.2)

  8. Step 700

    700

    #394ECF

    oklch(49.1% 0.199 270.1)

  9. Step 800

    800

    #2F41A7

    oklch(42.7% 0.164 270.2)

  10. Step 900

    900 (this color)

    #24337E

    oklch(35.7% 0.128 270.1)

  11. Step 950

    950

    #18224D

    oklch(27% 0.08 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#24337E 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)#003E810.035
Deuteranopia (no green cones)#00367D0.028
Tritanopia (no blue cones)#0045530.103
Achromatopsia (no color)#3A3A3A0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #24337E

    #24337E

    oklch(35.7% 0.128 270.1)

  • #4B3A00

    #4B3A00

    oklch(35.7% 0.073 90.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24337E

    #24337E

    oklch(35.7% 0.128 270.1)

  • #004162

    #004162

    oklch(35.7% 0.081 239.4)

  • #482674

    #482674

    oklch(35.7% 0.128 300)

Open the analogous palette in the generator

Split complementary

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

  • #24337E

    #24337E

    oklch(35.7% 0.128 270.1)

  • #5B3000

    #5B3000

    oklch(35.7% 0.083 60.6)

  • #374200

    #374200

    oklch(35.6% 0.084 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24337E

    #24337E

    oklch(35.7% 0.128 270.1)

  • #70140B

    #70140B

    oklch(35.6% 0.127 30.1)

  • #004A1E

    #004A1E

    oklch(35.8% 0.098 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24337E

    #24337E

    oklch(35.7% 0.128 270.1)

  • #6D1139

    #6D1139

    oklch(35.7% 0.128 0.5)

  • #4B3A00

    #4B3A00

    oklch(35.7% 0.073 90.2)

  • #00473E

    #00473E

    oklch(35.7% 0.064 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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