#282A51

Closest named color: Space Cadet (#2B2D42). oklch(30.4% 0.07 279.2), rgb(40, 42, 81).

Aa

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

About this color

#282A51 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.070 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.032 away. White text reads best on it, at 13.63:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.070)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.54:1
White text13.63:1

Values

HEX#282A51
RGBrgb(40, 42, 81)
HSLhsl(237, 34%, 24%)
OKLCHoklch(30.4% 0.07 279.2)

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 #282A51 13.63:1 AAA Lc -103.2 Preferred for body text
Black text on #282A51 1.54:1 Fails Lc 0.0 Not readable
#282A51 text on white 13.63:1 AAA Lc 100.1 Preferred for body text
#282A51 text on black 1.54: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F8

    oklch(88.6% 0.046 278.6)

  4. Step 300

    300

    #B5BCF6

    oklch(81% 0.082 279)

  5. Step 400

    400

    #9097F1

    oklch(70.8% 0.131 279.1)

  6. Step 500

    500

    #767AEC

    oklch(63.1% 0.168 278.9)

  7. Step 600

    600

    #6160DA

    oklch(55.6% 0.182 279.1)

  8. Step 700

    700

    #514EBD

    oklch(49.1% 0.169 279.3)

  9. Step 800

    800

    #424199

    oklch(42.8% 0.14 279.2)

  10. Step 900

    900

    #37387A

    oklch(37.7% 0.11 279.1)

  11. Step 950

    950 (this color)

    #282A51

    oklch(30.4% 0.07 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#282A51 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)#1B2F520.022
Deuteranopia (no green cones)#182C500.023
Tritanopia (no blue cones)#1A32390.061
Achromatopsia (no color)#2E2E2E0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A51

    #282A51

    oklch(30.4% 0.07 279.2)

  • #372F00

    #372F00

    oklch(30.5% 0.063 99)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A51

    #282A51

    oklch(30.4% 0.07 279.2)

  • #0D3150

    #0D3150

    oklch(30.5% 0.069 248.4)

  • #392449

    #392449

    oklch(30.4% 0.069 309)

Open the analogous palette in the generator

Split complementary

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

  • #282A51

    #282A51

    oklch(30.4% 0.07 279.2)

  • #442800

    #442800

    oklch(30.5% 0.066 69.7)

  • #24350A

    #24350A

    oklch(30.4% 0.069 128.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A51

    #282A51

    oklch(30.4% 0.07 279.2)

  • #4B2112

    #4B2112

    oklch(30.4% 0.069 39.9)

  • #003922

    #003922

    oklch(30.4% 0.069 159.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A51

    #282A51

    oklch(30.4% 0.07 279.2)

  • #4B1E27

    #4B1E27

    oklch(30.4% 0.069 9.6)

  • #372F00

    #372F00

    oklch(30.5% 0.063 99)

  • #003734

    #003734

    oklch(30.4% 0.053 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282A51 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.