#5A6EEC#5A6EEC

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

Color values

HEX#5A6EEC
RGBrgb(90, 110, 236)
HSLhsl(232, 79%, 64%)
HSVhsv(232, 62%, 93%)
CMYKcmyk(61.9%, 53.4%, 0%, 7.5%)
CIE-LABlab(51.13, 30.70, -66.05)
CIE-LCHlch(51.13, 72.84, 294.93°)
OKLaboklab(59.05% 0.0081 -0.1896)
OKLCHoklch(59.05% 0.19 272.5)
XYZxyz(24.9277, 19.3796, 81.7676)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EEC #ECD85A
analogous
#5AB7EC #5A6EEC #8F5AEC
triadic
#5A6EEC #EC5A6E #6EEC5A
tetradic
#5A6EEC #EC5AB7 #ECD85A #5AEC8F
square
#5A6EEC #EC5AB7 #ECD85A #5AEC8F
split-complementary
#5A6EEC #EC8F5A #B7EC5A
monochromatic
#152BB7 #233EE6 #5A6EEC #919EF2 #C8CEF9

Accessibility & contrast

On white

4.31
#5A6EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5A6EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EEC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EEC#FFFFFF#000000##000000
##5A6EEC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1680F0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a6eec;
/* rgb */ color: rgb(90, 110, 236);
/* oklch */ color: oklch(59.0% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#9697f3',
    500: '#5a6eec',
    950: '#000000',
  },
}
SCSS
$custom: #5a6eec;
$custom-light: #9697f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6eec",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 231.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.18976,
    "h": 272.5
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#5A6EEC
secondary
#EBE3B7
accent
#BF0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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