#5964D5#5964D5

#5964D5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.172 H 275.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5964D5
RGBrgb(89, 100, 213)
HSLhsl(235, 60%, 59%)
HSVhsv(235, 58%, 84%)
CMYKcmyk(58.2%, 53.1%, 0%, 16.5%)
CIE-LABlab(47.03, 29.07, -59.69)
CIE-LCHlch(47.03, 66.39, 295.97°)
OKLaboklab(55.47% 0.0154 -0.171)
OKLCHoklch(55.47% 0.172 275.1)
XYZxyz(20.6833, 16.0407, 64.9441)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964D5 #D5CA59
analogous
#59A2D5 #5964D5 #8C59D5
triadic
#5964D5 #D55964 #64D559
tetradic
#5964D5 #D559A2 #D5CA59 #59D58C
square
#5964D5 #D559A2 #D5CA59 #59D58C
split-complementary
#5964D5 #D58C59 #A2D559
monochromatic
#242E8F #313DC0 #5964D5 #8A92E1 #BBBFEE

Accessibility & contrast

On white

4.99
#5964D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5964D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5964D5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964D5#FFFFFF#000000##FFFFFF
##5964D51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5964d5;
/* rgb */ color: rgb(89, 100, 213);
/* oklch */ color: oklch(55.5% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#9290e3',
    500: '#5964d5',
    950: '#000000',
  },
}
SCSS
$custom: #5964d5;
$custom-light: #9290e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5964d5",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 234.677,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.17167,
    "h": 275.1
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#5964D5
secondary
#DDD9AD
accent
#D545E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5964D5

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

Preview Lab → · Contrast checker → · Palette generator →

#5964D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva