#282A66

Closest named color: Marine (#042E60). oklch(32% 0.103 277.4), rgb(40, 42, 102).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.61:1
White text13.01:1

Values

HEX#282A66
RGBrgb(40, 42, 102)
HSLhsl(238, 44%, 28%)
OKLCHoklch(32% 0.103 277.4)

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 #282A66 13.01:1 AAA Lc -102.3 Preferred for body text
Black text on #282A66 1.61:1 Fails Lc 0.0 Not readable
#282A66 text on white 13.01:1 AAA Lc 99.0 Preferred for body text
#282A66 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #CFD6FF

    oklch(88.4% 0.057 277.5)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8A95FF

    oklch(70.7% 0.154 277.2)

  6. Step 500

    500

    #7075FF

    oklch(63.1% 0.201 277.4)

  7. Step 600

    600

    #5B50FF

    oklch(55.7% 0.248 277.4)

  8. Step 700

    700

    #4C35EA

    oklch(49.1% 0.252 277.4)

  9. Step 800

    800

    #3D2FBD

    oklch(42.7% 0.209 277.2)

  10. Step 900

    900

    #332D95

    oklch(37.7% 0.163 277.7)

  11. Step 950

    950 (this color)

    #282A66

    oklch(32% 0.103 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#282A66 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)#0134680.042
Deuteranopia (no green cones)#002E650.040
Tritanopia (no blue cones)#0438430.091
Achromatopsia (no color)#3131310.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A66

    #282A66

    oklch(32% 0.103 277.4)

  • #3C3300

    #3C3300

    oklch(32.1% 0.066 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A66

    #282A66

    oklch(32% 0.103 277.4)

  • #00355B

    #00355B

    oklch(32% 0.084 247.1)

  • #41205B

    #41205B

    oklch(32% 0.104 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #282A66

    #282A66

    oklch(32% 0.103 277.4)

  • #4A2B00

    #4A2B00

    oklch(32.1% 0.07 68.2)

  • #273A00

    #273A00

    oklch(32% 0.083 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A66

    #282A66

    oklch(32% 0.103 277.4)

  • #5C1802

    #5C1802

    oklch(32% 0.104 37.2)

  • #003E23

    #003E23

    oklch(32% 0.076 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A66

    #282A66

    oklch(32% 0.103 277.4)

  • #5B1429

    #5B1429

    oklch(32% 0.103 7.7)

  • #3C3300

    #3C3300

    oklch(32.1% 0.066 98.4)

  • #003C38

    #003C38

    oklch(32.1% 0.056 187.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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