#5965E2#5965E2

#5965E2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.188 H 274.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5965E2
RGBrgb(89, 101, 226)
HSLhsl(235, 70%, 62%)
HSVhsv(235, 61%, 89%)
CMYKcmyk(60.6%, 55.3%, 0%, 11.4%)
CIE-LABlab(48.16, 32.74, -65.23)
CIE-LCHlch(48.16, 72.99, 296.65°)
OKLaboklab(56.6% 0.015 -0.1873)
OKLCHoklch(56.6% 0.188 274.6)
XYZxyz(22.4965, 16.9204, 74.0172)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965E2 #E2D659
analogous
#59A9E2 #5965E2 #9259E2
triadic
#5965E2 #E25965 #65E259
tetradic
#5965E2 #E259A9 #E2D659 #59E292
square
#5965E2 #E259A9 #E2D659 #59E292
split-complementary
#5965E2 #E29259 #A9E259
monochromatic
#1D28A4 #2635D8 #5965E2 #8D95EB #C1C6F4

Accessibility & contrast

On white

4.79
#5965E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5965E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965E2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965E2#FFFFFF#000000##FFFFFF
##5965E21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5965e2;
/* rgb */ color: rgb(89, 101, 226);
/* oklch */ color: oklch(56.6% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#9490ec',
    500: '#5965e2',
    950: '#000000',
  },
}
SCSS
$custom: #5965e2;
$custom-light: #9490ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5965e2",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 226
  },
  "hsl": {
    "h": 234.745,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.1879,
    "h": 274.6
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#5965E2
secondary
#E5E0B2
accent
#C213D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5965E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva