#5966E3#5966E3

#5966E3 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.188 H 274.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5966E3
RGBrgb(89, 102, 227)
HSLhsl(234, 71%, 62%)
HSVhsv(234, 61%, 89%)
CMYKcmyk(60.8%, 55.1%, 0%, 11%)
CIE-LABlab(48.47, 32.45, -65.29)
CIE-LCHlch(48.47, 72.91, 296.43°)
OKLaboklab(56.85% 0.0141 -0.1874)
OKLCHoklch(56.85% 0.188 274.3)
XYZxyz(22.7318, 17.1708, 74.7745)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966E3 #E3D659
analogous
#59ABE3 #5966E3 #9159E3
triadic
#5966E3 #E35966 #66E359
tetradic
#5966E3 #E359AB #E3D659 #59E391
square
#5966E3 #E359AB #E3D659 #59E391
split-complementary
#5966E3 #E39159 #ABE359
monochromatic
#1C29A6 #2536DA #5966E3 #8D96EC #C2C7F5

Accessibility & contrast

On white

4.74
#5966E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5966E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966E3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966E3#FFFFFF#000000##FFFFFF
##5966E31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5966e3;
/* rgb */ color: rgb(89, 102, 227);
/* oklch */ color: oklch(56.9% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#9491ed',
    500: '#5966e3',
    950: '#000000',
  },
}
SCSS
$custom: #5966e3;
$custom-light: #9491ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5966e3",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 234.348,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56852,
    "c": 0.18798,
    "h": 274.3
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#5966E3
secondary
#E5E1B2
accent
#C112D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5966E3

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

Preview Lab → · Contrast checker → · Palette generator →

#5966E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva