#5A6EE8#5A6EE8

#5A6EE8 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.184 H 272.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A6EE8
RGBrgb(90, 110, 232)
HSLhsl(232, 76%, 63%)
HSVhsv(232, 61%, 91%)
CMYKcmyk(61.2%, 52.6%, 0%, 9%)
CIE-LABlab(50.86, 29.37, -64.24)
CIE-LCHlch(50.86, 70.64, 294.57°)
OKLaboklab(58.77% 0.0079 -0.1843)
OKLCHoklch(58.77% 0.184 272.4)
XYZxyz(24.3530, 19.1497, 78.7412)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EE8 #E8D45A
analogous
#5AB5E8 #5A6EE8 #8D5AE8
triadic
#5A6EE8 #E85A6E #6EE85A
tetradic
#5A6EE8 #E85AB5 #E8D45A #5AE88D
square
#5A6EE8 #E85AB5 #E8D45A #5AE88D
split-complementary
#5A6EE8 #E88D5A #B5E85A
monochromatic
#182EAF #243FE1 #5A6EE8 #909DEF #C5CCF7

Accessibility & contrast

On white

4.35
#5A6EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5A6EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EE8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EE8#FFFFFF#000000##000000
##5A6EE81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6ee8;
/* rgb */ color: rgb(90, 110, 232);
/* oklch */ color: oklch(58.8% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#9597f0',
    500: '#5a6ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ee8;
$custom-light: #9597f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ee8",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 231.549,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.18443,
    "h": 272.4
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#5A6EE8
secondary
#E8E1B5
accent
#BB0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5A6EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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