#24274E

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.07 277.8), rgb(36, 39, 78).

Aa

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

About this color

#24274E is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.070 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.035 away. White text reads best on it, at 14.23:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.23:1

Values

HEX#24274E
RGBrgb(36, 39, 78)
HSLhsl(236, 37%, 22%)
OKLCHoklch(29.2% 0.07 277.8)

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 #24274E 14.23:1 AAA Lc -103.8 Preferred for body text
Black text on #24274E 1.47:1 Fails Lc 0.0 Not readable
#24274E text on white 14.23:1 AAA Lc 100.8 Preferred for body text
#24274E text on black 1.47: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300

    #B3BCF7

    oklch(80.9% 0.084 277.6)

  5. Step 400

    400

    #8D97F2

    oklch(70.6% 0.133 277.7)

  6. Step 500

    500

    #737AEE

    oklch(63% 0.171 277.7)

  7. Step 600

    600

    #5E60DC

    oklch(55.6% 0.185 277.8)

  8. Step 700

    700

    #4E4EBF

    oklch(49% 0.173 277.9)

  9. Step 800

    800

    #40419A

    oklch(42.7% 0.142 278.1)

  10. Step 900

    900

    #35387B

    oklch(37.6% 0.112 277.7)

  11. Step 950

    950 (this color)

    #24274E

    oklch(29.2% 0.07 277.8)

Export this scale for Tailwind in the Tailwind colors tool

#24274E 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)#172C4F0.022
Deuteranopia (no green cones)#13294D0.024
Tritanopia (no blue cones)#142F360.062
Achromatopsia (no color)#2B2B2B0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #24274E

    #24274E

    oklch(29.2% 0.07 277.8)

  • #342C00

    #342C00

    oklch(29.3% 0.061 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24274E

    #24274E

    oklch(29.2% 0.07 277.8)

  • #072E4D

    #072E4D

    oklch(29.3% 0.07 247.6)

  • #352146

    #352146

    oklch(29.1% 0.069 307.6)

Open the analogous palette in the generator

Split complementary

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

  • #24274E

    #24274E

    oklch(29.2% 0.07 277.8)

  • #402400

    #402400

    oklch(29% 0.064 67.3)

  • #223205

    #223205

    oklch(29.2% 0.07 127.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24274E

    #24274E

    oklch(29.2% 0.07 277.8)

  • #481D10

    #481D10

    oklch(29.1% 0.07 37.5)

  • #00361E

    #00361E

    oklch(29.3% 0.069 157.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24274E

    #24274E

    oklch(29.2% 0.07 277.8)

  • #481A25

    #481A25

    oklch(29.1% 0.071 7.7)

  • #342C00

    #342C00

    oklch(29.3% 0.061 98.4)

  • #003430

    #003430

    oklch(29.3% 0.051 186.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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