#5A66CF#5A66CF

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

Color values

HEX#5A66CF
RGBrgb(90, 102, 207)
HSLhsl(234, 55%, 58%)
HSVhsv(234, 57%, 81%)
CMYKcmyk(56.5%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.21, 26.06, -55.96)
CIE-LCHlch(47.21, 61.73, 294.97°)
OKLaboklab(55.5% 0.014 -0.16)
OKLCHoklch(55.5% 0.161 275)
XYZxyz(20.2267, 16.1799, 61.0766)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66CF #CFC35A
analogous
#5AA0CF #5A66CF #885ACF
triadic
#5A66CF #CF5A66 #66CF5A
tetradic
#5A66CF #CF5AA0 #CFC35A #5ACF88
square
#5A66CF #CF5AA0 #CFC35A #5ACF88
split-complementary
#5A66CF #CF885A #A0CF5A
monochromatic
#273187 #3542B7 #5A66CF #8992DD #B9BEEB

Accessibility & contrast

On white

4.96
#5A66CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5A66CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66CF#FFFFFF#000000##FFFFFF
##5A66CF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#196BCD
Tritanopia (blue-blind)
#137E91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a66cf;
/* rgb */ color: rgb(90, 102, 207);
/* oklch */ color: oklch(55.5% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#9291de',
    500: '#5a66cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a66cf;
$custom-light: #9291de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66cf",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 233.846,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.16059,
    "h": 275
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#5A66CF
secondary
#DAD5AB
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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