#28304B

Closest named color: Space Cadet (#2B2D42). oklch(31.5% 0.05 270.8), rgb(40, 48, 75).

Aa

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

About this color

#28304B is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.050 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.017 away. White text reads best on it, at 13.00:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.050)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text13.00:1

Values

HEX#28304B
RGBrgb(40, 48, 75)
HSLhsl(226, 30%, 23%)
OKLCHoklch(31.5% 0.05 270.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 #28304B 13.00:1 AAA Lc -102.5 Preferred for body text
Black text on #28304B 1.61:1 Fails Lc 0.0 Not readable
#28304B text on white 13.00:1 AAA Lc 99.2 Preferred for body text
#28304B text on black 1.61: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

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D1D9F0

    oklch(88.6% 0.033 270.4)

  4. Step 300

    300

    #B2BFE8

    oklch(80.8% 0.06 271.2)

  5. Step 400

    400

    #8A9EDC

    oklch(70.8% 0.094 270.2)

  6. Step 500

    500

    #6E84D2

    oklch(63% 0.12 270.7)

  7. Step 600

    600

    #576CC0

    oklch(55.5% 0.132 271)

  8. Step 700

    700

    #475AA5

    oklch(49% 0.122 270.7)

  9. Step 800

    800

    #3B4A86

    oklch(42.7% 0.101 271)

  10. Step 900

    900

    #323E6B

    oklch(37.6% 0.079 270.9)

  11. Step 950

    950 (this color)

    #28304B

    oklch(31.5% 0.05 270.8)

Export this scale for Tailwind in the Tailwind colors tool

#28304B 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)#27334C0.009
Deuteranopia (no green cones)#23304A0.008
Tritanopia (no blue cones)#1C353A0.043
Achromatopsia (no color)#3131310.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #28304B

    #28304B

    oklch(31.5% 0.05 270.8)

  • #3B3011

    #3B3011

    oklch(31.4% 0.049 89.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28304B

    #28304B

    oklch(31.5% 0.05 270.8)

  • #183548

    #183548

    oklch(31.6% 0.049 239.5)

  • #362B47

    #362B47

    oklch(31.4% 0.051 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #28304B

    #28304B

    oklch(31.5% 0.05 270.8)

  • #442B16

    #442B16

    oklch(31.5% 0.05 59.6)

  • #2E3517

    #2E3517

    oklch(31.4% 0.049 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28304B

    #28304B

    oklch(31.5% 0.05 270.8)

  • #482822

    #482822

    oklch(31.6% 0.05 31.4)

  • #1D3924

    #1D3924

    oklch(31.6% 0.051 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28304B

    #28304B

    oklch(31.5% 0.05 270.8)

  • #462630

    #462630

    oklch(31.4% 0.05 0.3)

  • #3B3011

    #3B3011

    oklch(31.4% 0.049 89.8)

  • #0C3A33

    #0C3A33

    oklch(31.6% 0.05 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28304B 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.