#282BC5#282BC5

#282BC5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.227 H 270.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#282BC5
RGBrgb(40, 43, 197)
HSLhsl(239, 66%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(79.7%, 78.2%, 0%, 22.7%)
CIE-LABlab(29.93, 51.54, -78.52)
CIE-LCHlch(29.93, 93.92, 303.28°)
OKLaboklab(41.81% 0.0011 -0.2274)
OKLCHoklch(41.81% 0.227 270.3)
XYZxyz(11.8136, 6.2087, 53.3883)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BC5 #C5C228
analogous
#2879C5 #282BC5 #7428C5
triadic
#282BC5 #C5282B #2BC528
tetradic
#282BC5 #C52879 #C5C228 #28C574
square
#282BC5 #C52879 #C5C228 #28C574
split-complementary
#282BC5 #C57428 #79C528
monochromatic
#13155F #1E2092 #282BC5 #4F52DB #8284E6

Accessibility & contrast

On white

9.37
#282BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#282BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BC5
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BC5#FFFFFF#000000##FFFFFF
##282BC51.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282bc5;
/* rgb */ color: rgb(40, 43, 197);
/* oklch */ color: oklch(41.8% 0.227 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f67d8',
    500: '#282bc5',
    950: '#000000',
  },
}
SCSS
$custom: #282bc5;
$custom-light: #7f67d8;
$custom-dark: #000000;
JSON
{
  "hex": "#282bc5",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 238.854,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.22738,
    "h": 270.3
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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