#282AC5#282AC5

#282AC5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.7% C 0.228 H 270.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#282AC5
RGBrgb(40, 42, 197)
HSLhsl(239, 66%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(79.7%, 78.7%, 0%, 22.7%)
CIE-LABlab(29.76, 52.05, -78.81)
CIE-LCHlch(29.76, 94.45, 303.44°)
OKLaboklab(41.69% 0.0013 -0.2282)
OKLCHoklch(41.69% 0.228 270.3)
XYZxyz(11.7777, 6.1369, 53.3763)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AC5 #C5C328
analogous
#2879C5 #282AC5 #7528C5
triadic
#282AC5 #C5282A #2AC528
tetradic
#282AC5 #C52879 #C5C328 #28C575
square
#282AC5 #C52879 #C5C328 #28C575
split-complementary
#282AC5 #C57528 #79C528
monochromatic
#13145F #1E1F92 #282AC5 #4F51DB #8283E6

Accessibility & contrast

On white

9.43
#282AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#282AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AC5
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AC5#FFFFFF#000000##FFFFFF
##282AC51.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003EC2
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #282ac5;
/* rgb */ color: rgb(40, 42, 197);
/* oklch */ color: oklch(41.7% 0.228 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f67d8',
    500: '#282ac5',
    950: '#000000',
  },
}
SCSS
$custom: #282ac5;
$custom-light: #7f67d8;
$custom-dark: #000000;
JSON
{
  "hex": "#282ac5",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 239.236,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.22822,
    "h": 270.3
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#282AC5
secondary
#CECD7A
accent
#E73FE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #282AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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