#5A66DD#5A66DD

#5A66DD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.5% C 0.180 H 274.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5A66DD
RGBrgb(90, 102, 221)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59.3%, 53.8%, 0%, 13.3%)
CIE-LABlab(48.13, 30.65, -62.45)
CIE-LCHlch(48.13, 69.57, 296.14°)
OKLaboklab(56.48% 0.0149 -0.1791)
OKLCHoklch(56.48% 0.18 274.8)
XYZxyz(22.0147, 16.8952, 70.4936)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66DD #DDD15A
analogous
#5AA7DD #5A66DD #8F5ADD
triadic
#5A66DD #DD5A66 #66DD5A
tetradic
#5A66DD #DD5AA7 #DDD15A #5ADD8F
square
#5A66DD #DD5AA7 #DDD15A #5ADD8F
split-complementary
#5A66DD #DD8F5A #A7DD5A
monochromatic
#202C9C #2B3ACF #5A66DD #8D95E7 #BFC4F2

Accessibility & contrast

On white

4.80
#5A66DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5A66DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66DD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66DD#FFFFFF#000000##FFFFFF
##5A66DD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a66dd;
/* rgb */ color: rgb(90, 102, 221);
/* oklch */ color: oklch(56.5% 0.180 274.8);
Tailwind
colors: {
  custom: {
    50: '#9491e8',
    500: '#5a66dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a66dd;
$custom-light: #9491e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66dd",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 234.504,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.17971,
    "h": 274.8
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#5A66DD
secondary
#E2DEB1
accent
#BD18CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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