#282AA1#282AA1

#282AA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.185 H 272.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#282AA1
RGBrgb(40, 42, 161)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 63%)
CMYKcmyk(75.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(25.80, 40.16, -63.86)
CIE-LCHlch(25.80, 75.44, 302.16°)
OKLaboklab(37.73% 0.0079 -0.1848)
OKLCHoklch(37.73% 0.185 272.5)
XYZxyz(8.1339, 4.6794, 34.1858)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA1 #A19F28
analogous
#2867A1 #282AA1 #6328A1
triadic
#282AA1 #A1282A #2AA128
tetradic
#282AA1 #A12867 #A19F28 #28A163
square
#282AA1 #A12867 #A19F28 #28A163
split-complementary
#282AA1 #A16328 #67A128
monochromatic
#10103F #1C1D70 #282AA1 #393BCE #6A6BDA

Accessibility & contrast

On white

10.85
#282AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#282AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA1
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA1#FFFFFF#000000##FFFFFF
##282AA11.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282aa1;
/* rgb */ color: rgb(40, 42, 161);
/* oklch */ color: oklch(37.7% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7665be',
    500: '#282aa1',
    950: '#000000',
  },
}
SCSS
$custom: #282aa1;
$custom-light: #7665be;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa1",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 239.008,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.18498,
    "h": 272.5
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#282AA1
secondary
#C0BF65
accent
#E144E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282AA1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#282AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva