#5A6EEB#5A6EEB

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

Color values

HEX#5A6EEB
RGBrgb(90, 110, 235)
HSLhsl(232, 78%, 64%)
HSVhsv(232, 62%, 92%)
CMYKcmyk(61.7%, 53.2%, 0%, 7.8%)
CIE-LABlab(51.06, 30.37, -65.60)
CIE-LCHlch(51.06, 72.29, 294.84°)
OKLaboklab(58.98% 0.0081 -0.1883)
OKLCHoklch(58.98% 0.188 272.5)
XYZxyz(24.7828, 19.3216, 81.0046)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EEB #EBD75A
analogous
#5AB6EB #5A6EEB #8E5AEB
triadic
#5A6EEB #EB5A6E #6EEB5A
tetradic
#5A6EEB #EB5AB6 #EBD75A #5AEB8E
square
#5A6EEB #EB5AB6 #EBD75A #5AEB8E
split-complementary
#5A6EEB #EB8E5A #B6EB5A
monochromatic
#162CB5 #233EE4 #5A6EEB #919EF2 #C7CEF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6EEB#FFFFFF#000000##000000
##5A6EEB1.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)
#1980EF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a6eeb;
/* rgb */ color: rgb(90, 110, 235);
/* oklch */ color: oklch(59.0% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#9697f2',
    500: '#5a6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6eeb;
$custom-light: #9697f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6eeb",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 231.724,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.18843,
    "h": 272.5
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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