#5A6EE6#5A6EE6

#5A6EE6 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.6% C 0.182 H 272.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A6EE6
RGBrgb(90, 110, 230)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 61%, 90%)
CMYKcmyk(60.9%, 52.2%, 0%, 9.8%)
CIE-LABlab(50.73, 28.71, -63.33)
CIE-LCHlch(50.73, 69.53, 294.39°)
OKLaboklab(58.62% 0.0078 -0.1816)
OKLCHoklch(58.62% 0.182 272.4)
XYZxyz(24.0706, 19.0367, 77.2536)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EE6 #E6D25A
analogous
#5AB4E6 #5A6EE6 #8C5AE6
triadic
#5A6EE6 #E65A6E #6EE65A
tetradic
#5A6EE6 #E65AB4 #E6D25A #5AE68C
square
#5A6EE6 #E65AB4 #E6D25A #5AE68C
split-complementary
#5A6EE6 #E68C5A #B4E65A
monochromatic
#1A2FAC #253FDE #5A6EE6 #8F9DEE #C4CBF6

Accessibility & contrast

On white

4.37
#5A6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6EE6#FFFFFF#000000##000000
##5A6EE61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6ee6;
/* rgb */ color: rgb(90, 110, 230);
/* oklch */ color: oklch(58.6% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#9597ef',
    500: '#5a6ee6',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ee6;
$custom-light: #9597ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ee6",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 230
  },
  "hsl": {
    "h": 231.429,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.18175,
    "h": 272.4
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#5A6EE6
secondary
#E7E0B5
accent
#B910D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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