#282F52

Closest named color: Prussian Blue (#1D3557). oklch(31.7% 0.063 273.7), rgb(40, 47, 82).

Aa

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

About this color

#282F52 is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.063 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.022 away. White text reads best on it, at 12.97:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.063)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.61:1
White text12.97:1

Values

HEX#282F52
RGBrgb(40, 47, 82)
HSLhsl(230, 34%, 24%)
OKLCHoklch(31.7% 0.063 273.7)

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 #282F52 12.97:1 AAA Lc -102.4 Preferred for body text
Black text on #282F52 1.61:1 Fails Lc 0.0 Not readable
#282F52 text on white 12.97:1 AAA Lc 99.1 Preferred for body text
#282F52 text on black 1.61: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D0D8F5

    oklch(88.5% 0.041 273.3)

  4. Step 300

    300

    #B1BEF2

    oklch(81% 0.075 273.7)

  5. Step 400

    400

    #899AEB

    oklch(70.6% 0.12 273.9)

  6. Step 500

    500

    #6D7FE5

    oklch(63% 0.154 273.7)

  7. Step 600

    600

    #5766D3

    oklch(55.6% 0.167 273.8)

  8. Step 700

    700

    #4754B7

    oklch(49.1% 0.156 273.6)

  9. Step 800

    800

    #3B4594

    oklch(42.6% 0.129 274.2)

  10. Step 900

    900

    #323B76

    oklch(37.7% 0.1 274.1)

  11. Step 950

    950 (this color)

    #282F52

    oklch(31.7% 0.063 273.7)

Export this scale for Tailwind in the Tailwind colors tool

#282F52 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)#2233530.014
Deuteranopia (no green cones)#1E30510.014
Tritanopia (no blue cones)#18363C0.056
Achromatopsia (no color)#3131310.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #282F52

    #282F52

    oklch(31.7% 0.063 273.7)

  • #3D3102

    #3D3102

    oklch(31.7% 0.063 93.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282F52

    #282F52

    oklch(31.7% 0.063 273.7)

  • #103550

    #103550

    oklch(31.7% 0.064 244.1)

  • #39294C

    #39294C

    oklch(31.6% 0.064 304.1)

Open the analogous palette in the generator

Split complementary

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

  • #282F52

    #282F52

    oklch(31.7% 0.063 273.7)

  • #482A09

    #482A09

    oklch(31.7% 0.063 63.7)

  • #2C370F

    #2C370F

    oklch(31.7% 0.063 123.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282F52

    #282F52

    oklch(31.7% 0.063 273.7)

  • #4D251C

    #4D251C

    oklch(31.7% 0.063 33.8)

  • #133B23

    #133B23

    oklch(31.6% 0.062 154.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282F52

    #282F52

    oklch(31.7% 0.063 273.7)

  • #4C232E

    #4C232E

    oklch(31.7% 0.063 4.3)

  • #3D3102

    #3D3102

    oklch(31.7% 0.063 93.5)

  • #003B35

    #003B35

    oklch(31.7% 0.056 183.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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