#5A6DEE#5A6DEE

#5A6DEE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.0% C 0.194 H 272.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A6DEE
RGBrgb(90, 109, 238)
HSLhsl(232, 81%, 64%)
HSVhsv(232, 62%, 93%)
CMYKcmyk(62.2%, 54.2%, 0%, 6.7%)
CIE-LABlab(51.02, 31.98, -67.35)
CIE-LCHlch(51.02, 74.56, 295.40°)
OKLaboklab(59.01% 0.0091 -0.1934)
OKLCHoklch(59.01% 0.194 272.7)
XYZxyz(25.1126, 19.2819, 83.2707)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DEE #EEDB5A
analogous
#5AB7EE #5A6DEE #915AEE
triadic
#5A6DEE #EE5A6D #6DEE5A
tetradic
#5A6DEE #EE5AB7 #EEDB5A #5AEE91
square
#5A6DEE #EE5AB7 #EEDB5A #5AEE91
split-complementary
#5A6DEE #EE915A #B7EE5A
monochromatic
#1329BA #233CE8 #5A6DEE #919EF4 #C9CFF9

Accessibility & contrast

On white

4.32
#5A6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DEE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DEE#FFFFFF#000000##000000
##5A6DEE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0580F2
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6dee;
/* rgb */ color: rgb(90, 109, 238);
/* oklch */ color: oklch(59.0% 0.194 272.7);
Tailwind
colors: {
  custom: {
    50: '#9696f4',
    500: '#5a6dee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6dee;
$custom-light: #9696f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6dee",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 232.297,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.19364,
    "h": 272.7
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#5A6DEE
secondary
#ECE5B8
accent
#C208DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A6DEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva