#282E5A

Closest named color: Prussian Blue (#1D3557). oklch(32% 0.078 275.2), rgb(40, 46, 90).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.62:1
White text12.89:1

Values

HEX#282E5A
RGBrgb(40, 46, 90)
HSLhsl(233, 38%, 25%)
OKLCHoklch(32% 0.078 275.2)

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 #282E5A 12.89:1 AAA Lc -102.3 Preferred for body text
Black text on #282E5A 1.62:1 Fails Lc 0.0 Not readable
#282E5A text on white 12.89:1 AAA Lc 98.9 Preferred for body text
#282E5A text on black 1.62: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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FC

    oklch(88.5% 0.052 275.7)

  4. Step 300

    300

    #AFBCFD

    oklch(80.9% 0.093 275.4)

  5. Step 400

    400

    #8797FC

    oklch(70.8% 0.148 275.2)

  6. Step 500

    500

    #6C79F9

    oklch(63.1% 0.189 275.2)

  7. Step 600

    600

    #575EE8

    oklch(55.7% 0.205 275.3)

  8. Step 700

    700

    #474CCA

    oklch(49.1% 0.191 275.1)

  9. Step 800

    800

    #3A3FA3

    oklch(42.6% 0.158 275.2)

  10. Step 900

    900

    #313781

    oklch(37.6% 0.123 275.3)

  11. Step 950

    950 (this color)

    #282E5A

    oklch(32% 0.078 275.2)

Export this scale for Tailwind in the Tailwind colors tool

#282E5A 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)#1B345C0.023
Deuteranopia (no green cones)#1630590.023
Tritanopia (no blue cones)#12373F0.069
Achromatopsia (no color)#3232320.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #282E5A

    #282E5A

    oklch(32% 0.078 275.2)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282E5A

    #282E5A

    oklch(32% 0.078 275.2)

  • #033658

    #033658

    oklch(32.2% 0.078 244.9)

  • #3C2752

    #3C2752

    oklch(32% 0.077 305)

Open the analogous palette in the generator

Split complementary

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

  • #282E5A

    #282E5A

    oklch(32% 0.078 275.2)

  • #4B2A00

    #4B2A00

    oklch(32% 0.071 65.7)

  • #2A3903

    #2A3903

    oklch(32% 0.077 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282E5A

    #282E5A

    oklch(32% 0.078 275.2)

  • #532115

    #532115

    oklch(31.9% 0.078 34.8)

  • #013E20

    #013E20

    oklch(32% 0.079 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282E5A

    #282E5A

    oklch(32% 0.078 275.2)

  • #521F2D

    #521F2D

    oklch(31.9% 0.078 5.4)

  • #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 #282E5A, closest first.

Similar named colors

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

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