#5962DF#5962DF

#5962DF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.188 H 275.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5962DF
RGBrgb(89, 98, 223)
HSLhsl(236, 68%, 61%)
HSVhsv(236, 60%, 87%)
CMYKcmyk(60.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.22, 33.59, -65.07)
CIE-LCHlch(47.22, 73.22, 297.30°)
OKLaboklab(55.83% 0.0177 -0.1868)
OKLCHoklch(55.83% 0.188 275.4)
XYZxyz(21.8024, 16.1852, 71.7729)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962DF #DFD659
analogous
#59A5DF #5962DF #9359DF
triadic
#5962DF #DF5962 #62DF59
tetradic
#5962DF #DF59A5 #DFD659 #59DF93
square
#5962DF #DF59A5 #DFD659 #59DF93
split-complementary
#5962DF #DF9359 #A5DF59
monochromatic
#1F279F #2934D2 #5962DF #8C93E9 #C0C3F3

Accessibility & contrast

On white

4.96
#5962DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5962DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962DF#FFFFFF#000000##FFFFFF
##5962DF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5962df;
/* rgb */ color: rgb(89, 98, 223);
/* oklch */ color: oklch(55.8% 0.188 275.4);
Tailwind
colors: {
  custom: {
    50: '#948eea',
    500: '#5962df',
    950: '#000000',
  },
}
SCSS
$custom: #5962df;
$custom-light: #948eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5962df",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 235.97,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.18766,
    "h": 275.4
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#5962DF
secondary
#E3E0B1
accent
#C316D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5962DF

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

Preview Lab → · Contrast checker → · Palette generator →

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