#5964E1#5964E1

#5964E1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.188 H 274.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5964E1
RGBrgb(89, 100, 225)
HSLhsl(235, 69%, 62%)
HSVhsv(235, 60%, 88%)
CMYKcmyk(60.4%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.84, 33.02, -65.18)
CIE-LCHlch(47.84, 73.07, 296.87°)
OKLaboklab(56.34% 0.0159 -0.1871)
OKLCHoklch(56.34% 0.188 274.8)
XYZxyz(22.2632, 16.6727, 73.2645)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964E1 #E1D659
analogous
#59A8E1 #5964E1 #9259E1
triadic
#5964E1 #E15964 #64E159
tetradic
#5964E1 #E159A8 #E1D659 #59E192
square
#5964E1 #E159A8 #E1D659 #59E192
split-complementary
#5964E1 #E19259 #A8E159
monochromatic
#1D28A2 #2735D6 #5964E1 #8D94EA #C1C5F4

Accessibility & contrast

On white

4.84
#5964E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5964E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5964E1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964E1#FFFFFF#000000##FFFFFF
##5964E11.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5964e1;
/* rgb */ color: rgb(89, 100, 225);
/* oklch */ color: oklch(56.3% 0.188 274.8);
Tailwind
colors: {
  custom: {
    50: '#9490eb',
    500: '#5964e1',
    950: '#000000',
  },
}
SCSS
$custom: #5964e1;
$custom-light: #9490eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5964e1",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 235.147,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.18782,
    "h": 274.8
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#5964E1
secondary
#E4E0B2
accent
#C214D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5964E1

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

Preview Lab → · Contrast checker → · Palette generator →

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