#5A6EEE#5A6EEE

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

Color values

HEX#5A6EEE
RGBrgb(90, 110, 238)
HSLhsl(232, 81%, 64%)
HSVhsv(232, 62%, 93%)
CMYKcmyk(62.2%, 53.8%, 0%, 6.7%)
CIE-LABlab(51.26, 31.37, -66.95)
CIE-LCHlch(51.26, 73.94, 295.10°)
OKLaboklab(59.19% 0.0082 -0.1922)
OKLCHoklch(59.19% 0.192 272.4)
XYZxyz(25.2199, 19.4964, 83.3065)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EEE #EEDA5A
analogous
#5AB8EE #5A6EEE #905AEE
triadic
#5A6EEE #EE5A6E #6EEE5A
tetradic
#5A6EEE #EE5AB8 #EEDA5A #5AEE90
square
#5A6EEE #EE5AB8 #EEDA5A #5AEE90
split-complementary
#5A6EEE #EE905A #B8EE5A
monochromatic
#132ABA #233DE8 #5A6EEE #919FF4 #C9D0F9

Accessibility & contrast

On white

4.29
#5A6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5A6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EEE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EEE#FFFFFF#000000##000000
##5A6EEE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E81F2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a6eee;
/* rgb */ color: rgb(90, 110, 238);
/* oklch */ color: oklch(59.2% 0.192 272.4);
Tailwind
colors: {
  custom: {
    50: '#9697f4',
    500: '#5a6eee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6eee;
$custom-light: #9697f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6eee",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 231.892,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.19242,
    "h": 272.4
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#5A6EEE
secondary
#ECE5B8
accent
#C108DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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