#282E5B

Closest named color: Prussian Blue (#1D3557). oklch(32.1% 0.08 275.3), rgb(40, 46, 91).

Aa

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

About this color

#282E5B is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.080 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 12.86:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.86:1

Values

HEX#282E5B
RGBrgb(40, 46, 91)
HSLhsl(233, 39%, 26%)
OKLCHoklch(32.1% 0.08 275.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 #282E5B 12.86:1 AAA Lc -102.2 Preferred for body text
Black text on #282E5B 1.63:1 Fails Lc 0.0 Not readable
#282E5B text on white 12.86:1 AAA Lc 98.9 Preferred for body text
#282E5B 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #AFBCFE

    oklch(80.9% 0.095 275.5)

  5. Step 400

    400

    #8796FD

    oklch(70.6% 0.151 275.6)

  6. Step 500

    500

    #6C78FB

    oklch(63.1% 0.193 275.5)

  7. Step 600

    600

    #565DEB

    oklch(55.7% 0.21 275.1)

  8. Step 700

    700

    #474BCC

    oklch(49.1% 0.195 275.2)

  9. Step 800

    800

    #3A3FA5

    oklch(42.8% 0.161 275.1)

  10. Step 900

    900

    #313783

    oklch(37.8% 0.126 275.2)

  11. Step 950

    950 (this color)

    #282E5B

    oklch(32.1% 0.08 275.3)

Export this scale for Tailwind in the Tailwind colors tool

#282E5B 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)#1A345D0.023
Deuteranopia (no green cones)#15305A0.024
Tritanopia (no blue cones)#1238400.070
Achromatopsia (no color)#3232320.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #282E5B

    #282E5B

    oklch(32.1% 0.08 275.3)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282E5B

    #282E5B

    oklch(32.1% 0.08 275.3)

  • #023659

    #023659

    oklch(32.2% 0.08 245.3)

  • #3D2753

    #3D2753

    oklch(32.1% 0.079 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #282E5B

    #282E5B

    oklch(32.1% 0.08 275.3)

  • #4B2A00

    #4B2A00

    oklch(32% 0.071 65.7)

  • #2A3A01

    #2A3A01

    oklch(32.2% 0.08 125.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282E5B

    #282E5B

    oklch(32.1% 0.08 275.3)

  • #542114

    #542114

    oklch(32% 0.08 35.4)

  • #003E20

    #003E20

    oklch(32% 0.079 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282E5B

    #282E5B

    oklch(32.1% 0.08 275.3)

  • #531F2D

    #531F2D

    oklch(32.1% 0.079 5.8)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003C37

    #003C37

    oklch(32% 0.056 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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