#5A66EC#5A66EC

#5A66EC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.6% C 0.200 H 274.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A66EC
RGBrgb(90, 102, 236)
HSLhsl(235, 79%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(61.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(49.17, 35.59, -69.23)
CIE-LCHlch(49.17, 77.84, 297.21°)
OKLaboklab(57.58% 0.0153 -0.199)
OKLCHoklch(57.58% 0.2 274.4)
XYZxyz(24.1032, 17.7305, 81.4928)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66EC #ECE05A
analogous
#5AAFEC #5A66EC #975AEC
triadic
#5A66EC #EC5A66 #66EC5A
tetradic
#5A66EC #EC5AAF #ECE05A #5AEC97
square
#5A66EC #EC5AAF #ECE05A #5AEC97
split-complementary
#5A66EC #EC975A #AFEC5A
monochromatic
#1522B7 #2333E6 #5A66EC #9199F2 #C8CCF9

Accessibility & contrast

On white

4.62
#5A66EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66EC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66EC#FFFFFF#000000##FFFFFF
##5A66EC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a66ec;
/* rgb */ color: rgb(90, 102, 236);
/* oklch */ color: oklch(57.6% 0.200 274.4);
Tailwind
colors: {
  custom: {
    50: '#9691f3',
    500: '#5a66ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a66ec;
$custom-light: #9691f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66ec",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 235.068,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.1996,
    "h": 274.4
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#5A66EC
secondary
#EBE6B7
accent
#CA0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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