#282A60

Closest named color: Marine (#042E60). oklch(31.6% 0.094 278), rgb(40, 42, 96).

Aa

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

About this color

#282A60 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.094 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.038 away. White text reads best on it, at 13.20:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.59:1
White text13.20:1

Values

HEX#282A60
RGBrgb(40, 42, 96)
HSLhsl(238, 41%, 27%)
OKLCHoklch(31.6% 0.094 278)

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 #282A60 13.20:1 AAA Lc -102.6 Preferred for body text
Black text on #282A60 1.59:1 Fails Lc 0.0 Not readable
#282A60 text on white 13.20:1 AAA Lc 99.3 Preferred for body text
#282A60 text on black 1.59: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8B94FF

    oklch(70.6% 0.155 278)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C4FFE

    oklch(55.5% 0.248 277.9)

  8. Step 700

    700

    #4D3EDE

    oklch(49.1% 0.23 277.9)

  9. Step 800

    800

    #3E35B3

    oklch(42.7% 0.191 277.8)

  10. Step 900

    900

    #34318D

    oklch(37.7% 0.148 278.1)

  11. Step 950

    950 (this color)

    #282A60

    oklch(31.6% 0.094 278)

Export this scale for Tailwind in the Tailwind colors tool

#282A60 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)#0C32620.036
Deuteranopia (no green cones)#032E5F0.039
Tritanopia (no blue cones)#0D36400.082
Achromatopsia (no color)#3030300.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A60

    #282A60

    oklch(31.6% 0.094 278)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A60

    #282A60

    oklch(31.6% 0.094 278)

  • #00345A

    #00345A

    oklch(31.7% 0.084 247.5)

  • #3F2156

    #3F2156

    oklch(31.5% 0.095 308)

Open the analogous palette in the generator

Split complementary

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

  • #282A60

    #282A60

    oklch(31.6% 0.094 278)

  • #482A00

    #482A00

    oklch(31.6% 0.069 68.7)

  • #253900

    #253900

    oklch(31.5% 0.083 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A60

    #282A60

    oklch(31.6% 0.094 278)

  • #571B07

    #571B07

    oklch(31.5% 0.094 37.7)

  • #003D23

    #003D23

    oklch(31.7% 0.074 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A60

    #282A60

    oklch(31.6% 0.094 278)

  • #571729

    #571729

    oklch(31.6% 0.095 7.4)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

  • #003A37

    #003A37

    oklch(31.4% 0.054 189.1)

Open the square palette in the generator

Palettes and gradients that use #282A60

These curated palettes and gradients contain exactly #282A60. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

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