#5A6DEB#5A6DEB

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

Color values

HEX#5A6DEB
RGBrgb(90, 109, 235)
HSLhsl(232, 78%, 64%)
HSVhsv(232, 62%, 92%)
CMYKcmyk(61.7%, 53.6%, 0%, 7.8%)
CIE-LABlab(50.81, 30.98, -66.00)
CIE-LCHlch(50.81, 72.91, 295.15°)
OKLaboklab(58.79% 0.009 -0.1894)
OKLCHoklch(58.79% 0.19 272.7)
XYZxyz(24.6755, 19.1070, 80.9688)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DEB #EBD85A
analogous
#5AB5EB #5A6DEB #8F5AEB
triadic
#5A6DEB #EB5A6D #6DEB5A
tetradic
#5A6DEB #EB5AB5 #EBD85A #5AEB8F
square
#5A6DEB #EB5AB5 #EBD85A #5AEB8F
split-complementary
#5A6DEB #EB8F5A #B5EB5A
monochromatic
#162BB5 #233DE4 #5A6DEB #919DF2 #C7CEF8

Accessibility & contrast

On white

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

On black

4.82
#5A6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DEB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DEB#FFFFFF#000000##000000
##5A6DEB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380EF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6deb;
/* rgb */ color: rgb(90, 109, 235);
/* oklch */ color: oklch(58.8% 0.190 272.7);
Tailwind
colors: {
  custom: {
    50: '#9696f2',
    500: '#5a6deb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6deb;
$custom-light: #9696f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6deb",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 232.138,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.18966,
    "h": 272.7
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#5A6DEB
secondary
#EAE3B7
accent
#BF0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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