#5A6CEE#5A6CEE

#5A6CEE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.195 H 272.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A6CEE
RGBrgb(90, 108, 238)
HSLhsl(233, 81%, 64%)
HSVhsv(233, 62%, 93%)
CMYKcmyk(62.2%, 54.6%, 0%, 6.7%)
CIE-LABlab(50.77, 32.59, -67.75)
CIE-LCHlch(50.77, 75.18, 295.69°)
OKLaboklab(58.82% 0.01 -0.1946)
OKLCHoklch(58.82% 0.195 272.9)
XYZxyz(25.0065, 19.0697, 83.2354)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CEE #EEDC5A
analogous
#5AB6EE #5A6CEE #925AEE
triadic
#5A6CEE #EE5A6C #6CEE5A
tetradic
#5A6CEE #EE5AB6 #EEDC5A #5AEE92
square
#5A6CEE #EE5AB6 #EEDC5A #5AEE92
split-complementary
#5A6CEE #EE925A #B6EE5A
monochromatic
#1328BA #233BE8 #5A6CEE #919DF4 #C9CFF9

Accessibility & contrast

On white

4.36
#5A6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5A6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6CEE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CEE#FFFFFF#000000##000000
##5A6CEE1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6cee;
/* rgb */ color: rgb(90, 108, 238);
/* oklch */ color: oklch(58.8% 0.195 272.9);
Tailwind
colors: {
  custom: {
    50: '#9695f4',
    500: '#5a6cee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6cee;
$custom-light: #9695f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6cee",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 232.703,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.19487,
    "h": 272.9
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#5A6CEE
secondary
#ECE5B8
accent
#C408DE
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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