#5A66CB#5A66CB

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

Color values

HEX#5A66CB
RGBrgb(90, 102, 203)
HSLhsl(234, 52%, 57%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(55.7%, 49.8%, 0%, 20.4%)
CIE-LABlab(46.96, 24.75, -54.07)
CIE-LCHlch(46.96, 59.47, 294.60°)
OKLaboklab(55.22% 0.0136 -0.1544)
OKLCHoklch(55.22% 0.155 275)
XYZxyz(19.7438, 15.9868, 58.5337)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66CB #CBBF5A
analogous
#5A9FCB #5A66CB #865ACB
triadic
#5A66CB #CB5A66 #66CB5A
tetradic
#5A66CB #CB5A9F #CBBF5A #5ACB86
square
#5A66CB #CB5A9F #CBBF5A #5ACB86
split-complementary
#5A66CB #CB865A #9FCB5A
monochromatic
#293282 #3844B0 #5A66CB #8991DA #B7BCE8

Accessibility & contrast

On white

5.00
#5A66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5A66CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66CB#FFFFFF#000000##FFFFFF
##5A66CB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#1C7D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a66cb;
/* rgb */ color: rgb(90, 102, 203);
/* oklch */ color: oklch(55.2% 0.155 275.0);
Tailwind
colors: {
  custom: {
    50: '#9191db',
    500: '#5a66cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a66cb;
$custom-light: #9191db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66cb",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 233.628,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.15504,
    "h": 275
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#5A66CB
secondary
#D7D2AA
accent
#CC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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