#5A66CC#5A66CC

#5A66CC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.156 H 275.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A66CC
RGBrgb(90, 102, 204)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(55.9%, 50%, 0%, 20%)
CIE-LABlab(47.02, 25.08, -54.55)
CIE-LCHlch(47.02, 60.04, 294.69°)
OKLaboklab(55.29% 0.0137 -0.1558)
OKLCHoklch(55.29% 0.156 275)
XYZxyz(19.8634, 16.0346, 59.1633)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66CC #CCC05A
analogous
#5A9FCC #5A66CC #875ACC
triadic
#5A66CC #CC5A66 #66CC5A
tetradic
#5A66CC #CC5A9F #CCC05A #5ACC87
square
#5A66CC #CC5A9F #CCC05A #5ACC87
split-complementary
#5A66CC #CC875A #9FCC5A
monochromatic
#293283 #3744B2 #5A66CC #8991DA #B7BDE9

Accessibility & contrast

On white

4.99
#5A66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5A66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66CC#FFFFFF#000000##FFFFFF
##5A66CC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#1A7D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a66cc;
/* rgb */ color: rgb(90, 102, 204);
/* oklch */ color: oklch(55.3% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#9191dc',
    500: '#5a66cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a66cc;
$custom-light: #9191dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66cc",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 233.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.15643,
    "h": 275
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#5A66CC
secondary
#D8D3AA
accent
#CD4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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