#28314C

Closest named color: Space Cadet (#2B2D42). oklch(31.8% 0.05 269.4), rgb(40, 49, 76).

Aa

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

About this color

#28314C is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.050 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 12.85:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.050)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.63:1
White text12.85:1

Values

HEX#28314C
RGBrgb(40, 49, 76)
HSLhsl(225, 31%, 23%)
OKLCHoklch(31.8% 0.05 269.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 #28314C 12.85:1 AAA Lc -102.3 Preferred for body text
Black text on #28314C 1.63:1 Fails Lc 0.0 Not readable
#28314C text on white 12.85:1 AAA Lc 99.0 Preferred for body text
#28314C text on black 1.63: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

    #D0D9F0

    oklch(88.6% 0.033 268.7)

  4. Step 300

    300

    #B1C0E8

    oklch(81% 0.059 268.9)

  5. Step 400

    400

    #899EDC

    oklch(70.7% 0.094 269.5)

  6. Step 500

    500

    #6C85D3

    oklch(63.1% 0.121 269.3)

  7. Step 600

    600

    #556DC0

    oklch(55.6% 0.132 269.6)

  8. Step 700

    700

    #455BA6

    oklch(49.2% 0.123 269.2)

  9. Step 800

    800

    #394A86

    oklch(42.6% 0.102 269.8)

  10. Step 900

    900

    #313F6B

    oklch(37.8% 0.078 269.1)

  11. Step 950

    950 (this color)

    #28314C

    oklch(31.8% 0.05 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#28314C 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)#28344D0.010
Deuteranopia (no green cones)#24304B0.007
Tritanopia (no blue cones)#1C373B0.045
Achromatopsia (no color)#3232320.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #28314C

    #28314C

    oklch(31.8% 0.05 269.4)

  • #3C3111

    #3C3111

    oklch(31.8% 0.05 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28314C

    #28314C

    oklch(31.8% 0.05 269.4)

  • #183649

    #183649

    oklch(31.9% 0.049 238.7)

  • #362C48

    #362C48

    oklch(31.7% 0.05 300)

Open the analogous palette in the generator

Split complementary

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

  • #28314C

    #28314C

    oklch(31.8% 0.05 269.4)

  • #452C17

    #452C17

    oklch(31.8% 0.05 59.6)

  • #2F3617

    #2F3617

    oklch(31.8% 0.05 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28314C

    #28314C

    oklch(31.8% 0.05 269.4)

  • #492823

    #492823

    oklch(31.8% 0.051 29.4)

  • #1F3924

    #1F3924

    oklch(31.7% 0.049 149.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28314C

    #28314C

    oklch(31.8% 0.05 269.4)

  • #472732

    #472732

    oklch(31.8% 0.051 358.3)

  • #3C3111

    #3C3111

    oklch(31.8% 0.05 90.3)

  • #0D3B33

    #0D3B33

    oklch(31.9% 0.051 178.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28314C 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.