#242B45

Closest named color: Space Cadet (#2B2D42). oklch(29.5% 0.048 271.7), rgb(36, 43, 69).

Aa

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

About this color

#242B45 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.048 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.015 away. White text reads best on it, at 13.93:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.048)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.93:1

Values

HEX#242B45
RGBrgb(36, 43, 69)
HSLhsl(227, 31%, 21%)
OKLCHoklch(29.5% 0.048 271.7)

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 #242B45 13.93:1 AAA Lc -103.6 Preferred for body text
Black text on #242B45 1.50:1 Fails Lc 0.0 Not readable
#242B45 text on white 13.93:1 AAA Lc 100.5 Preferred for body text
#242B45 text on black 1.50: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D1D8EF

    oklch(88.4% 0.033 272.2)

  4. Step 300

    300

    #B3BFE7

    oklch(80.9% 0.058 272)

  5. Step 400

    400

    #8C9DDA

    oklch(70.6% 0.092 271.9)

  6. Step 500

    500

    #7084D0

    oklch(63% 0.117 271.5)

  7. Step 600

    600

    #596CBD

    oklch(55.5% 0.128 271.7)

  8. Step 700

    700

    #495AA3

    oklch(49% 0.118 271.6)

  9. Step 800

    800

    #3C4A84

    oklch(42.7% 0.098 271.5)

  10. Step 900

    900

    #333E6A

    oklch(37.6% 0.077 271.7)

  11. Step 950

    950 (this color)

    #242B45

    oklch(29.5% 0.048 271.7)

Export this scale for Tailwind in the Tailwind colors tool

#242B45 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)#222E460.010
Deuteranopia (no green cones)#1F2B440.008
Tritanopia (no blue cones)#1930340.043
Achromatopsia (no color)#2C2C2C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #242B45

    #242B45

    oklch(29.5% 0.048 271.7)

  • #352C0D

    #352C0D

    oklch(29.6% 0.048 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242B45

    #242B45

    oklch(29.5% 0.048 271.7)

  • #142F43

    #142F43

    oklch(29.4% 0.049 243)

  • #312741

    #312741

    oklch(29.6% 0.048 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #242B45

    #242B45

    oklch(29.5% 0.048 271.7)

  • #3E2711

    #3E2711

    oklch(29.6% 0.049 62.7)

  • #293013

    #293013

    oklch(29.4% 0.048 120.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242B45

    #242B45

    oklch(29.5% 0.048 271.7)

  • #42231D

    #42231D

    oklch(29.6% 0.049 31.8)

  • #193420

    #193420

    oklch(29.7% 0.049 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242B45

    #242B45

    oklch(29.5% 0.048 271.7)

  • #41222B

    #41222B

    oklch(29.6% 0.049 1.8)

  • #352C0D

    #352C0D

    oklch(29.6% 0.048 93)

  • #07342E

    #07342E

    oklch(29.4% 0.048 181.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #242B45 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.