#5964D9#5964D9

#5964D9 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.177 H 275.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5964D9
RGBrgb(89, 100, 217)
HSLhsl(235, 63%, 60%)
HSVhsv(235, 59%, 85%)
CMYKcmyk(59%, 53.9%, 0%, 14.9%)
CIE-LABlab(47.30, 30.39, -61.53)
CIE-LCHlch(47.30, 68.62, 296.28°)
OKLaboklab(55.75% 0.0156 -0.1764)
OKLCHoklch(55.75% 0.177 275)
XYZxyz(21.1973, 16.2463, 67.6510)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964D9 #D9CE59
analogous
#59A4D9 #5964D9 #8E59D9
triadic
#5964D9 #D95964 #64D959
tetradic
#5964D9 #D959A4 #D9CE59 #59D98E
square
#5964D9 #D959A4 #D9CE59 #59D98E
split-complementary
#5964D9 #D98E59 #A4D959
monochromatic
#222C95 #2E3BC7 #5964D9 #8B92E4 #BDC1F0

Accessibility & contrast

On white

4.94
#5964D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5964D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5964D9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964D9#FFFFFF#000000##FFFFFF
##5964D91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1476DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5964d9;
/* rgb */ color: rgb(89, 100, 217);
/* oklch */ color: oklch(55.8% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#9390e5',
    500: '#5964d9',
    950: '#000000',
  },
}
SCSS
$custom: #5964d9;
$custom-light: #9390e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5964d9",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 234.844,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.17709,
    "h": 275
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#5964D9
secondary
#E0DBAE
accent
#D842E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5964D9

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

Preview Lab → · Contrast checker → · Palette generator →

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