#5A66EA#5A66EA

#5A66EA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.197 H 274.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A66EA
RGBrgb(90, 102, 234)
HSLhsl(235, 77%, 64%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(61.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.03, 34.93, -68.34)
CIE-LCHlch(49.03, 76.74, 297.07°)
OKLaboklab(57.43% 0.0153 -0.1964)
OKLCHoklch(57.43% 0.197 274.5)
XYZxyz(23.8142, 17.6150, 79.9710)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66EA #EADE5A
analogous
#5AAEEA #5A66EA #965AEA
triadic
#5A66EA #EA5A66 #66EA5A
tetradic
#5A66EA #EA5AAE #EADE5A #5AEA96
square
#5A66EA #EA5AAE #EADE5A #5AEA96
split-complementary
#5A66EA #EA965A #AEEA5A
monochromatic
#1724B3 #2434E3 #5A66EA #9098F1 #C7CBF8

Accessibility & contrast

On white

4.64
#5A66EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5A66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66EA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66EA#FFFFFF#000000##FFFFFF
##5A66EA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a66ea;
/* rgb */ color: rgb(90, 102, 234);
/* oklch */ color: oklch(57.4% 0.197 274.5);
Tailwind
colors: {
  custom: {
    50: '#9691f2',
    500: '#5a66ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a66ea;
$custom-light: #9691f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66ea",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 235,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.19698,
    "h": 274.5
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#5A66EA
secondary
#E9E5B6
accent
#C90CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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