#282CC5#282CC5

#282CC5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.227 H 270.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#282CC5
RGBrgb(40, 44, 197)
HSLhsl(238, 66%, 46%)
HSVhsv(238, 80%, 77%)
CMYKcmyk(79.7%, 77.7%, 0%, 22.7%)
CIE-LABlab(30.11, 51.02, -78.22)
CIE-LCHlch(30.11, 93.38, 303.12°)
OKLaboklab(41.94% 0.0008 -0.2265)
OKLCHoklch(41.94% 0.227 270.2)
XYZxyz(11.8504, 6.2823, 53.4005)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CC5 #C5C128
analogous
#287BC5 #282CC5 #7328C5
triadic
#282CC5 #C5282C #2CC528
tetradic
#282CC5 #C5287B #C5C128 #28C573
square
#282CC5 #C5287B #C5C128 #28C573
split-complementary
#282CC5 #C57328 #7BC528
monochromatic
#13155F #1E2192 #282CC5 #4F53DB #8284E6

Accessibility & contrast

On white

9.31
#282CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#282CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CC5
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CC5#FFFFFF#000000##FFFFFF
##282CC51.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #282cc5;
/* rgb */ color: rgb(40, 44, 197);
/* oklch */ color: oklch(41.9% 0.227 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f68d8',
    500: '#282cc5',
    950: '#000000',
  },
}
SCSS
$custom: #282cc5;
$custom-light: #7f68d8;
$custom-dark: #000000;
JSON
{
  "hex": "#282cc5",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 238.471,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.22652,
    "h": 270.2
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#282CC5
secondary
#CECC7A
accent
#E53FE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #282CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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