#282EA9#282EA9

#282EA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.191 H 271.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#282EA9
RGBrgb(40, 46, 169)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 76%, 66%)
CMYKcmyk(76.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.49, 40.55, -65.92)
CIE-LCHlch(27.49, 77.39, 301.59°)
OKLaboklab(39.18% 0.0047 -0.1908)
OKLCHoklch(39.18% 0.191 271.4)
XYZxyz(9.0111, 5.2687, 38.0705)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA9 #A9A328
analogous
#286EA9 #282EA9 #6228A9
triadic
#282EA9 #A9282E #2EA928
tetradic
#282EA9 #A9286E #A9A328 #28A962
square
#282EA9 #A9286E #A9A328 #28A962
split-complementary
#282EA9 #A96228 #6EA928
monochromatic
#111346 #1C2178 #282EA9 #3D44D1 #6F74DD

Accessibility & contrast

On white

10.22
#282EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#282EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EA9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA9#FFFFFF#000000##FFFFFF
##282EA91.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282ea9;
/* rgb */ color: rgb(40, 46, 169);
/* oklch */ color: oklch(39.2% 0.191 271.4);
Tailwind
colors: {
  custom: {
    50: '#7868c4',
    500: '#282ea9',
    950: '#000000',
  },
}
SCSS
$custom: #282ea9;
$custom-light: #7868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea9",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 237.209,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.19088,
    "h": 271.4
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#282EA9
secondary
#C4BF69
accent
#DD43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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