#28335B

Closest named color: Prussian Blue (#1D3557). oklch(33.2% 0.072 270.5), rgb(40, 51, 91).

Aa

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

About this color

#28335B is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.072 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.017 away. White text reads best on it, at 12.24:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.71:1
White text12.24:1

Values

HEX#28335B
RGBrgb(40, 51, 91)
HSLhsl(227, 39%, 26%)
OKLCHoklch(33.2% 0.072 270.5)

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 #28335B 12.24:1 AAA Lc -101.3 Preferred for body text
Black text on #28335B 1.71:1 Fails Lc 0.0 Not readable
#28335B text on white 12.24:1 AAA Lc 97.8 Preferred for body text
#28335B text on black 1.71: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 900.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B3C0E5

    oklch(81% 0.054 269.9)

  5. Step 400

    400

    #8C9ED7

    oklch(70.7% 0.086 270.6)

  6. Step 500

    500

    #7085CD

    oklch(63.1% 0.111 270.6)

  7. Step 600

    600

    #596EB9

    oklch(55.6% 0.119 270.4)

  8. Step 700

    700

    #495BA0

    oklch(49% 0.113 270.8)

  9. Step 800

    800

    #3C4B82

    oklch(42.8% 0.093 270.6)

  10. Step 900

    900 (this color)

    #28335B

    oklch(33.2% 0.072 270.5)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#28335B 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)#23375D0.013
Deuteranopia (no green cones)#1D335A0.015
Tritanopia (no blue cones)#113C420.065
Achromatopsia (no color)#3535350.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #28335B

    #28335B

    oklch(33.2% 0.072 270.5)

  • #433400

    #433400

    oklch(33.2% 0.068 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28335B

    #28335B

    oklch(33.2% 0.072 270.5)

  • #063A57

    #063A57

    oklch(33.3% 0.072 240.1)

  • #3C2C55

    #3C2C55

    oklch(33.2% 0.072 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #28335B

    #28335B

    oklch(33.2% 0.072 270.5)

  • #502C06

    #502C06

    oklch(33.3% 0.072 61.1)

  • #313B08

    #313B08

    oklch(33.2% 0.072 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28335B

    #28335B

    oklch(33.2% 0.072 270.5)

  • #55261E

    #55261E

    oklch(33.2% 0.072 31.2)

  • #144021

    #144021

    oklch(33.2% 0.073 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28335B

    #28335B

    oklch(33.2% 0.072 270.5)

  • #532434

    #532434

    oklch(33.2% 0.073 0.3)

  • #433400

    #433400

    oklch(33.2% 0.068 90.9)

  • #004037

    #004037

    oklch(33.3% 0.061 179.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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