#5A66CD#5A66CD

#5A66CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.158 H 275.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A66CD
RGBrgb(90, 102, 205)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(56.1%, 50.2%, 0%, 19.6%)
CIE-LABlab(47.08, 25.41, -55.02)
CIE-LCHlch(47.08, 60.60, 294.78°)
OKLaboklab(55.36% 0.0138 -0.1572)
OKLCHoklch(55.36% 0.158 275)
XYZxyz(19.9837, 16.0828, 59.7970)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66CD #CDC15A
analogous
#5A9FCD #5A66CD #875ACD
triadic
#5A66CD #CD5A66 #66CD5A
tetradic
#5A66CD #CD5A9F #CDC15A #5ACD87
square
#5A66CD #CD5A9F #CDC15A #5ACD87
split-complementary
#5A66CD #CD875A #9FCD5A
monochromatic
#283284 #3643B3 #5A66CD #8992DB #B8BDE9

Accessibility & contrast

On white

4.98
#5A66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5A66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66CD#FFFFFF#000000##FFFFFF
##5A66CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#187D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a66cd;
/* rgb */ color: rgb(90, 102, 205);
/* oklch */ color: oklch(55.4% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#9291dd',
    500: '#5a66cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a66cd;
$custom-light: #9291dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66cd",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 233.739,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.15782,
    "h": 275
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#5A66CD
secondary
#D8D4AA
accent
#CE4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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