#282A4F

Closest named color: Space Cadet (#2B2D42). oklch(30.3% 0.066 279.3), rgb(40, 42, 79).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.066)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.68:1

Values

HEX#282A4F
RGBrgb(40, 42, 79)
HSLhsl(237, 33%, 23%)
OKLCHoklch(30.3% 0.066 279.3)

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 #282A4F 13.68:1 AAA Lc -103.3 Preferred for body text
Black text on #282A4F 1.53:1 Fails Lc 0.0 Not readable
#282A4F text on white 13.68:1 AAA Lc 100.1 Preferred for body text
#282A4F text on black 1.53: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

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F6

    oklch(88.5% 0.043 278.2)

  4. Step 300

    300

    #B5BCF3

    oklch(80.9% 0.078 278.9)

  5. Step 400

    400

    #9197ED

    oklch(70.7% 0.125 279.6)

  6. Step 500

    500

    #777BE7

    oklch(63.1% 0.16 279.2)

  7. Step 600

    600

    #6261D6

    oklch(55.6% 0.175 279.4)

  8. Step 700

    700

    #5150B9

    oklch(49.1% 0.161 279.1)

  9. Step 800

    800

    #424296

    oklch(42.7% 0.134 279.1)

  10. Step 900

    900

    #373977

    oklch(37.7% 0.104 278.8)

  11. Step 950

    950 (this color)

    #282A4F

    oklch(30.3% 0.066 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#282A4F 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)#1C2F500.022
Deuteranopia (no green cones)#192C4E0.022
Tritanopia (no blue cones)#1B32380.059
Achromatopsia (no color)#2D2D2D0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A4F

    #282A4F

    oklch(30.3% 0.066 279.3)

  • #362F00

    #362F00

    oklch(30.3% 0.063 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A4F

    #282A4F

    oklch(30.3% 0.066 279.3)

  • #10304E

    #10304E

    oklch(30.2% 0.066 249.7)

  • #382447

    #382447

    oklch(30.2% 0.066 309.3)

Open the analogous palette in the generator

Split complementary

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

  • #282A4F

    #282A4F

    oklch(30.3% 0.066 279.3)

  • #432700

    #432700

    oklch(30.2% 0.066 69.1)

  • #24350D

    #24350D

    oklch(30.4% 0.066 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A4F

    #282A4F

    oklch(30.3% 0.066 279.3)

  • #4A2113

    #4A2113

    oklch(30.3% 0.067 39.3)

  • #043822

    #043822

    oklch(30.2% 0.066 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A4F

    #282A4F

    oklch(30.3% 0.066 279.3)

  • #4A1F27

    #4A1F27

    oklch(30.4% 0.066 10.2)

  • #362F00

    #362F00

    oklch(30.3% 0.063 100.4)

  • #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 #282A4F, closest first.

Similar named colors

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

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