#5964F2#5964F2

#5964F2 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.6% C 0.210 H 274.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5964F2
RGBrgb(89, 100, 242)
HSLhsl(236, 85%, 65%)
HSVhsv(236, 63%, 95%)
CMYKcmyk(63.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(49.06, 38.61, -72.76)
CIE-LCHlch(49.06, 82.37, 297.96°)
OKLaboklab(57.63% 0.0159 -0.2094)
OKLCHoklch(57.63% 0.21 274.4)
XYZxyz(24.6987, 17.6469, 86.0918)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5964F2 #F2E759
analogous
#59B1F2 #5964F2 #9A59F2
triadic
#5964F2 #F25964 #64F259
tetradic
#5964F2 #F259B1 #F2E759 #59F29A
square
#5964F2 #F259B1 #F2E759 #59F29A
split-complementary
#5964F2 #F29A59 #B1F259
monochromatic
#0F1CC1 #202FEE #5964F2 #9299F6 #CBCEFB

Accessibility & contrast

On white

4.64
#5964F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5964F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5964F2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5964F2#FFFFFF#000000##FFFFFF
##5964F21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5964f2;
/* rgb */ color: rgb(89, 100, 242);
/* oklch */ color: oklch(57.6% 0.210 274.4);
Tailwind
colors: {
  custom: {
    50: '#9790f7',
    500: '#5964f2',
    950: '#000000',
  },
}
SCSS
$custom: #5964f2;
$custom-light: #9790f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5964f2",
  "rgb": {
    "r": 89,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 235.686,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.21005,
    "h": 274.4
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#5964F2
secondary
#EDEAB9
accent
#D204E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5964F2

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

Preview Lab → · Contrast checker → · Palette generator →

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