#5964CB#5964CB

#5964CB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.158 H 275.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5964CB
RGBrgb(89, 100, 203)
HSLhsl(234, 52%, 57%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(56.2%, 50.7%, 0%, 20.4%)
CIE-LABlab(46.38, 25.79, -55.01)
CIE-LCHlch(46.38, 60.76, 295.12°)
OKLaboklab(54.77% 0.0146 -0.1572)
OKLCHoklch(54.77% 0.158 275.3)
XYZxyz(19.4530, 15.5486, 58.4644)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964CB #CBC059
analogous
#599DCB #5964CB #8759CB
triadic
#5964CB #CB5964 #64CB59
tetradic
#5964CB #CB599D #CBC059 #59CB87
square
#5964CB #CB599D #CBC059 #59CB87
split-complementary
#5964CB #CB8759 #9DCB59
monochromatic
#283181 #3743B0 #5964CB #8890DA #B6BBE8

Accessibility & contrast

On white

5.11
#5964CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5964CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5964CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964CB#FFFFFF#000000##FFFFFF
##5964CB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#1A69C9
Tritanopia (blue-blind)
#187B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5964cb;
/* rgb */ color: rgb(89, 100, 203);
/* oklch */ color: oklch(54.8% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#9190db',
    500: '#5964cb',
    950: '#000000',
  },
}
SCSS
$custom: #5964cb;
$custom-light: #9190db;
$custom-dark: #000000;
JSON
{
  "hex": "#5964cb",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 234.211,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.15792,
    "h": 275.3
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#5964CB
secondary
#D7D3A9
accent
#CE4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5964CB

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

Preview Lab → · Contrast checker → · Palette generator →

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