#28304A

Closest named color: Space Cadet (#2B2D42). oklch(31.4% 0.048 270.4), rgb(40, 48, 74).

Aa

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

About this color

#28304A is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.048 and its hue 270°. 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.02:1.

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

Values

HEX#28304A
RGBrgb(40, 48, 74)
HSLhsl(226, 30%, 22%)
OKLCHoklch(31.4% 0.048 270.4)

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 #28304A 13.02:1 AAA Lc -102.5 Preferred for body text
Black text on #28304A 1.61:1 Fails Lc 0.0 Not readable
#28304A text on white 13.02:1 AAA Lc 99.2 Preferred for body text
#28304A 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

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D1D9EF

    oklch(88.6% 0.031 269.8)

  4. Step 300

    300

    #B2BFE6

    oklch(80.8% 0.057 270.6)

  5. Step 400

    400

    #8B9EDA

    oklch(70.7% 0.091 270.5)

  6. Step 500

    500

    #6F85D0

    oklch(63.2% 0.116 270.4)

  7. Step 600

    600

    #576DBD

    oklch(55.5% 0.127 270.3)

  8. Step 700

    700

    #485BA3

    oklch(49.2% 0.117 270.5)

  9. Step 800

    800

    #3B4A84

    oklch(42.6% 0.098 270.8)

  10. Step 900

    900

    #323F6A

    oklch(37.8% 0.076 269.8)

  11. Step 950

    950 (this color)

    #28304A

    oklch(31.4% 0.048 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#28304A 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)#27324B0.006
Deuteranopia (no green cones)#2430490.006
Tritanopia (no blue cones)#1D35390.043
Achromatopsia (no color)#3131310.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #28304A

    #28304A

    oklch(31.4% 0.048 270.4)

  • #3B3012

    #3B3012

    oklch(31.4% 0.048 89.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28304A

    #28304A

    oklch(31.4% 0.048 270.4)

  • #193447

    #193447

    oklch(31.3% 0.048 241.2)

  • #352C46

    #352C46

    oklch(31.5% 0.047 299.6)

Open the analogous palette in the generator

Split complementary

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

  • #28304A

    #28304A

    oklch(31.4% 0.048 270.4)

  • #432B17

    #432B17

    oklch(31.3% 0.048 59.6)

  • #2E3518

    #2E3518

    oklch(31.4% 0.048 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28304A

    #28304A

    oklch(31.4% 0.048 270.4)

  • #472822

    #472822

    oklch(31.5% 0.048 31.7)

  • #1E3824

    #1E3824

    oklch(31.3% 0.048 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28304A

    #28304A

    oklch(31.4% 0.048 270.4)

  • #452730

    #452730

    oklch(31.4% 0.047 0.8)

  • #3B3012

    #3B3012

    oklch(31.4% 0.048 89.3)

  • #0E3932

    #0E3932

    oklch(31.3% 0.048 180.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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