#5962F4#5962F4

#5962F4 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.4% C 0.215 H 274.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5962F4
RGBrgb(89, 98, 244)
HSLhsl(237, 88%, 65%)
HSVhsv(237, 64%, 96%)
CMYKcmyk(63.5%, 59.8%, 0%, 4.3%)
CIE-LABlab(48.75, 40.47, -74.40)
CIE-LCHlch(48.75, 84.69, 298.55°)
OKLaboklab(57.44% 0.0175 -0.2143)
OKLCHoklch(57.44% 0.215 274.7)
XYZxyz(24.8113, 17.3887, 87.6193)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962F4 #F4EB59
analogous
#59B0F4 #5962F4 #9D59F4
triadic
#5962F4 #F45962 #62F459
tetradic
#5962F4 #F459B0 #F4EB59 #59F49D
square
#5962F4 #F459B0 #F4EB59 #59F49D
split-complementary
#5962F4 #F49D59 #B0F459
monochromatic
#0D18C6 #202CF0 #5962F4 #9298F8 #CCCFFC

Accessibility & contrast

On white

4.69
#5962F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5962F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962F4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962F4#FFFFFF#000000##FFFFFF
##5962F41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5962f4;
/* rgb */ color: rgb(89, 98, 244);
/* oklch */ color: oklch(57.4% 0.215 274.7);
Tailwind
colors: {
  custom: {
    50: '#988ef9',
    500: '#5962f4',
    950: '#000000',
  },
}
SCSS
$custom: #5962f4;
$custom-light: #988ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5962f4",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 236.516,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.21498,
    "h": 274.7
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#5962F4
secondary
#EFEBBA
accent
#D701E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5962F4

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

Preview Lab → · Contrast checker → · Palette generator →

#5962F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva