#282E71

Closest named color: Marine Blue (#01386A). oklch(33.8% 0.114 274.6), rgb(40, 46, 113).

Aa

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

About this color

#282E71 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.114 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.044 away. White text reads best on it, at 12.21:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.71:1
White text12.21:1

Values

HEX#282E71
RGBrgb(40, 46, 113)
HSLhsl(235, 48%, 30%)
OKLCHoklch(33.8% 0.114 274.6)

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 #282E71 12.21:1 AAA Lc -101.1 Preferred for body text
Black text on #282E71 1.71:1 Fails Lc 0.0 Not readable
#282E71 text on white 12.21:1 AAA Lc 97.5 Preferred for body text
#282E71 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #CFD7F9

    oklch(88.4% 0.048 274.9)

  4. Step 300

    300

    #B0BDF8

    oklch(80.9% 0.085 274.7)

  5. Step 400

    400

    #8898F5

    oklch(70.7% 0.137 275)

  6. Step 500

    500

    #6C7CF1

    oklch(63.1% 0.174 274.4)

  7. Step 600

    600

    #5661E0

    oklch(55.5% 0.191 274.6)

  8. Step 700

    700

    #474FC2

    oklch(49% 0.177 274.7)

  9. Step 800

    800

    #3A429D

    oklch(42.7% 0.146 274.6)

  10. Step 900

    900 (this color)

    #282E71

    oklch(33.8% 0.114 274.6)

  11. Step 950

    950

    #1D2249

    oklch(27% 0.072 275)

Export this scale for Tailwind in the Tailwind colors tool

#282E71 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)#0039730.041
Deuteranopia (no green cones)#0032700.036
Tritanopia (no blue cones)#003E4A0.098
Achromatopsia (no color)#3535350.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #282E71

    #282E71

    oklch(33.8% 0.114 274.6)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282E71

    #282E71

    oklch(33.8% 0.114 274.6)

  • #003A60

    #003A60

    oklch(33.7% 0.086 245.4)

  • #452366

    #452366

    oklch(33.8% 0.114 304.3)

Open the analogous palette in the generator

Split complementary

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

  • #282E71

    #282E71

    oklch(33.8% 0.114 274.6)

  • #522E00

    #522E00

    oklch(33.9% 0.076 65.1)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282E71

    #282E71

    oklch(33.8% 0.114 274.6)

  • #661704

    #661704

    oklch(33.9% 0.115 34.3)

  • #004423

    #004423

    oklch(34% 0.085 154.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282E71

    #282E71

    oklch(33.8% 0.114 274.6)

  • #641330

    #641330

    oklch(33.9% 0.115 4.6)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

  • #00413B

    #00413B

    oklch(33.7% 0.06 184.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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