#5966EB#5966EB

#5966EB is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.199 H 274.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5966EB
RGBrgb(89, 102, 235)
HSLhsl(235, 78%, 64%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(62.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.04, 35.10, -68.88)
CIE-LCHlch(49.04, 77.31, 297.00°)
OKLaboklab(57.45% 0.0142 -0.198)
OKLCHoklch(57.45% 0.199 274.1)
XYZxyz(23.8616, 17.6228, 80.7252)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966EB #EBDE59
analogous
#59AFEB #5966EB #9559EB
triadic
#5966EB #EB5966 #66EB59
tetradic
#5966EB #EB59AF #EBDE59 #59EB95
square
#5966EB #EB59AF #EBDE59 #59EB95
split-complementary
#5966EB #EB9559 #AFEB59
monochromatic
#1624B4 #2234E4 #5966EB #9098F2 #C6CBF8

Accessibility & contrast

On white

4.64
#5966EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5966EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5966EB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966EB#FFFFFF#000000##FFFFFF
##5966EB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5966eb;
/* rgb */ color: rgb(89, 102, 235);
/* oklch */ color: oklch(57.4% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#9691f2',
    500: '#5966eb',
    950: '#000000',
  },
}
SCSS
$custom: #5966eb;
$custom-light: #9691f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5966eb",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 234.658,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.19854,
    "h": 274.1
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#5966EB
secondary
#EAE5B6
accent
#C80BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5966EB

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

Preview Lab → · Contrast checker → · Palette generator →

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