#282E42

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.037 271.2), rgb(40, 46, 66).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.037)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.55:1
White text13.46:1

Values

HEX#282E42
RGBrgb(40, 46, 66)
HSLhsl(226, 25%, 21%)
OKLCHoklch(30.5% 0.037 271.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 #282E42 13.46:1 AAA Lc -103.1 Preferred for body text
Black text on #282E42 1.55:1 Fails Lc 0.0 Not readable
#282E42 text on white 13.46:1 AAA Lc 99.9 Preferred for body text
#282E42 text on black 1.55: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D3D9EA

    oklch(88.6% 0.024 270.3)

  4. Step 300

    300

    #B6C0DE

    oklch(81% 0.044 270.8)

  5. Step 400

    400

    #909FCD

    oklch(70.7% 0.07 270.5)

  6. Step 500

    500

    #7586C0

    oklch(63% 0.09 271.1)

  7. Step 600

    600

    #5E6FAD

    oklch(55.5% 0.099 271.2)

  8. Step 700

    700

    #4E5D94

    oklch(49.1% 0.09 271.2)

  9. Step 800

    800

    #404C78

    oklch(42.7% 0.075 271.4)

  10. Step 900

    900

    #364061

    oklch(37.8% 0.058 270.6)

  11. Step 950

    950 (this color)

    #282E42

    oklch(30.5% 0.037 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#282E42 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)#2830430.006
Deuteranopia (no green cones)#252E420.005
Tritanopia (no blue cones)#2032350.034
Achromatopsia (no color)#2F2F2F0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #282E42

    #282E42

    oklch(30.5% 0.037 271.2)

  • #362E18

    #362E18

    oklch(30.4% 0.037 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282E42

    #282E42

    oklch(30.5% 0.037 271.2)

  • #1D3140

    #1D3140

    oklch(30.3% 0.038 241.9)

  • #322B3F

    #322B3F

    oklch(30.6% 0.037 300.3)

Open the analogous palette in the generator

Split complementary

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

  • #282E42

    #282E42

    oklch(30.5% 0.037 271.2)

  • #3D2B1B

    #3D2B1B

    oklch(30.6% 0.038 62.3)

  • #2C321C

    #2C321C

    oklch(30.5% 0.038 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282E42

    #282E42

    oklch(30.5% 0.037 271.2)

  • #402823

    #402823

    oklch(30.5% 0.038 32.3)

  • #213425

    #213425

    oklch(30.4% 0.037 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282E42

    #282E42

    oklch(30.5% 0.037 271.2)

  • #3F272E

    #3F272E

    oklch(30.5% 0.038 0.6)

  • #362E18

    #362E18

    oklch(30.4% 0.037 90.1)

  • #173530

    #173530

    oklch(30.4% 0.037 181.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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