#5A66EE#5A66EE

#5A66EE is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.7% C 0.202 H 274.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A66EE
RGBrgb(90, 102, 238)
HSLhsl(235, 81%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(62.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(49.31, 36.24, -70.12)
CIE-LCHlch(49.31, 78.93, 297.33°)
OKLaboklab(57.74% 0.0153 -0.2016)
OKLCHoklch(57.74% 0.202 274.3)
XYZxyz(24.3954, 17.8474, 83.0317)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66EE #EEE25A
analogous
#5AB0EE #5A66EE #985AEE
triadic
#5A66EE #EE5A66 #66EE5A
tetradic
#5A66EE #EE5AB0 #EEE25A #5AEE98
square
#5A66EE #EE5AB0 #EEE25A #5AEE98
split-complementary
#5A66EE #EE985A #B0EE5A
monochromatic
#1321BA #2333E8 #5A66EE #9199F4 #C9CDF9

Accessibility & contrast

On white

4.60
#5A66EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5A66EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66EE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66EE#FFFFFF#000000##FFFFFF
##5A66EE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#0087A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a66ee;
/* rgb */ color: rgb(90, 102, 238);
/* oklch */ color: oklch(57.7% 0.202 274.3);
Tailwind
colors: {
  custom: {
    50: '#9791f4',
    500: '#5a66ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a66ee;
$custom-light: #9791f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66ee",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 235.135,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.20221,
    "h": 274.3
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#5A66EE
secondary
#ECE7B8
accent
#CC08DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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