#5962FC#5962FC

#5962FC is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.225 H 274.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5962FC
RGBrgb(89, 98, 252)
HSLhsl(237, 96%, 67%)
HSVhsv(237, 65%, 99%)
CMYKcmyk(64.7%, 61.1%, 0%, 1.2%)
CIE-LABlab(49.36, 43.08, -77.86)
CIE-LCHlch(49.36, 88.98, 298.96°)
OKLaboklab(58.08% 0.0173 -0.2244)
OKLCHoklch(58.08% 0.225 274.4)
XYZxyz(26.0524, 17.8852, 94.1558)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962FC #FCF359
analogous
#59B4FC #5962FC #A259FC
triadic
#5962FC #FC5962 #62FC59
tetradic
#5962FC #FC59B4 #FCF359 #59FCA2
square
#5962FC #FC59B4 #FCF359 #59FCA2
split-complementary
#5962FC #FCA259 #B4FC59
monochromatic
#0410D7 #1D29FB #5962FC #959BFD #D1D4FE

Accessibility & contrast

On white

4.59
#5962FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5962FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5962FC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962FC#FFFFFF#000000##FFFFFF
##5962FC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#006EF9
Tritanopia (blue-blind)
#0089A6
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5962fc;
/* rgb */ color: rgb(89, 98, 252);
/* oklch */ color: oklch(58.1% 0.225 274.4);
Tailwind
colors: {
  custom: {
    50: '#998ffe',
    500: '#5962fc',
    950: '#000000',
  },
}
SCSS
$custom: #5962fc;
$custom-light: #998ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#5962fc",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 236.687,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.22509,
    "h": 274.4
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#5962FC
secondary
#F2F0BE
accent
#D900E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5962FC

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

Preview Lab → · Contrast checker → · Palette generator →

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