#5A6CE7#5A6CE7

#5A6CE7 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.186 H 273.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A6CE7
RGBrgb(90, 108, 231)
HSLhsl(232, 75%, 63%)
HSVhsv(232, 61%, 91%)
CMYKcmyk(61%, 53.2%, 0%, 9.4%)
CIE-LABlab(50.29, 30.27, -64.60)
CIE-LCHlch(50.29, 71.34, 295.11°)
OKLaboklab(58.32% 0.0097 -0.1853)
OKLCHoklch(58.32% 0.186 273)
XYZxyz(23.9980, 18.6663, 77.9241)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CE7 #E7D55A
analogous
#5AB3E7 #5A6CE7 #8E5AE7
triadic
#5A6CE7 #E75A6C #6CE75A
tetradic
#5A6CE7 #E75AB3 #E7D55A #5AE78E
square
#5A6CE7 #E75AB3 #E7D55A #5AE78E
split-complementary
#5A6CE7 #E78E5A #B3E75A
monochromatic
#192CAD #253CDF #5A6CE7 #8F9CEF #C5CBF7

Accessibility & contrast

On white

4.44
#5A6CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5A6CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6CE7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CE7#FFFFFF#000000##000000
##5A6CE71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6ce7;
/* rgb */ color: rgb(90, 108, 231);
/* oklch */ color: oklch(58.3% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#9595ef',
    500: '#5a6ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ce7;
$custom-light: #9595ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ce7",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 232.34,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.18557,
    "h": 273
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#5A6CE7
secondary
#E8E1B5
accent
#BD0FD7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5A6CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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