#5964CD#5964CD

#5964CD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.161 H 275.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5964CD
RGBrgb(89, 100, 205)
HSLhsl(234, 54%, 58%)
HSVhsv(234, 57%, 80%)
CMYKcmyk(56.6%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.50, 26.45, -55.95)
CIE-LCHlch(46.50, 61.89, 295.30°)
OKLaboklab(54.91% 0.0148 -0.16)
OKLCHoklch(54.91% 0.161 275.3)
XYZxyz(19.6929, 15.6446, 59.7277)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964CD #CDC259
analogous
#599ECD #5964CD #8859CD
triadic
#5964CD #CD5964 #64CD59
tetradic
#5964CD #CD599E #CDC259 #59CD88
square
#5964CD #CD599E #CDC259 #59CD88
split-complementary
#5964CD #CD8859 #9ECD59
monochromatic
#283084 #3642B3 #5964CD #8890DB #B7BCE9

Accessibility & contrast

On white

5.09
#5964CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5964CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5964CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964CD#FFFFFF#000000##FFFFFF
##5964CD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#1469CB
Tritanopia (blue-blind)
#137C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5964cd;
/* rgb */ color: rgb(89, 100, 205);
/* oklch */ color: oklch(54.9% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#9190dd',
    500: '#5964cd',
    950: '#000000',
  },
}
SCSS
$custom: #5964cd;
$custom-light: #9190dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5964cd",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 234.31,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.16069,
    "h": 275.3
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#5964CD
secondary
#D8D4AA
accent
#CF4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5964CD

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

Preview Lab → · Contrast checker → · Palette generator →

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