#5951E4#5951E4

#5951E4 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.215 H 278.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5951E4
RGBrgb(89, 81, 228)
HSLhsl(243, 73%, 61%)
HSVhsv(243, 64%, 89%)
CMYKcmyk(61%, 64.5%, 0%, 10.6%)
CIE-LABlab(43.67, 45.38, -73.68)
CIE-LCHlch(43.67, 86.53, 301.63°)
OKLaboklab(53.33% 0.0323 -0.2122)
OKLCHoklch(53.33% 0.215 278.7)
XYZxyz(21.0614, 13.6085, 74.9006)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951E4 #DCE451
analogous
#5193E4 #5951E4 #A251E4
triadic
#5951E4 #E45951 #51E459
tetradic
#5951E4 #E45193 #DCE451 #51E4A2
square
#5951E4 #E45193 #DCE451 #51E4A2
split-complementary
#5951E4 #E4A251 #93E451
monochromatic
#2019A2 #2B21D7 #5951E4 #8C86EC #BEBBF4

Accessibility & contrast

On white

5.64
#5951E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5951E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951E4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951E4#FFFFFF#000000##FFFFFF
##5951E41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5951e4;
/* rgb */ color: rgb(89, 81, 228);
/* oklch */ color: oklch(53.3% 0.215 278.7);
Tailwind
colors: {
  custom: {
    50: '#9683ee',
    500: '#5951e4',
    950: '#000000',
  },
}
SCSS
$custom: #5951e4;
$custom-light: #9683ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5951e4",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 243.265,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.21469,
    "h": 278.7
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#5951E4
secondary
#E1E4AC
accent
#D510CB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5951E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5951E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva