#5A66ED#5A66ED

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

Color values

HEX#5A66ED
RGBrgb(90, 102, 237)
HSLhsl(235, 80%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(62%, 57%, 0%, 7.1%)
CIE-LABlab(49.24, 35.92, -69.67)
CIE-LCHlch(49.24, 78.39, 297.27°)
OKLaboklab(57.66% 0.0153 -0.2003)
OKLCHoklch(57.66% 0.201 274.4)
XYZxyz(24.2488, 17.7888, 82.2601)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66ED #EDE15A
analogous
#5AB0ED #5A66ED #985AED
triadic
#5A66ED #ED5A66 #66ED5A
tetradic
#5A66ED #ED5AB0 #EDE15A #5AED98
square
#5A66ED #ED5AB0 #EDE15A #5AED98
split-complementary
#5A66ED #ED985A #B0ED5A
monochromatic
#1422B8 #2333E7 #5A66ED #9199F3 #C8CCF9

Accessibility & contrast

On white

4.61
#5A66ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5A66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66ED
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66ED#FFFFFF#000000##FFFFFF
##5A66ED1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a66ed;
/* rgb */ color: rgb(90, 102, 237);
/* oklch */ color: oklch(57.7% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#9791f4',
    500: '#5a66ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a66ed;
$custom-light: #9791f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66ed",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 235.102,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.20091,
    "h": 274.4
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#5A66ED
secondary
#EBE7B8
accent
#CB09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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