#5965E5#5965E5

#5965E5 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.192 H 274.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5965E5
RGBrgb(89, 101, 229)
HSLhsl(235, 73%, 62%)
HSVhsv(235, 61%, 90%)
CMYKcmyk(61.1%, 55.9%, 0%, 10.2%)
CIE-LABlab(48.37, 33.73, -66.59)
CIE-LCHlch(48.37, 74.64, 296.86°)
OKLaboklab(56.82% 0.015 -0.1913)
OKLCHoklch(56.82% 0.192 274.5)
XYZxyz(22.9117, 17.0865, 76.2042)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965E5 #E5D959
analogous
#59ABE5 #5965E5 #9359E5
triadic
#5965E5 #E55965 #65E559
tetradic
#5965E5 #E559AB #E5D959 #59E593
square
#5965E5 #E559AB #E5D959 #59E593
split-complementary
#5965E5 #E59359 #ABE559
monochromatic
#1A27A9 #2434DD #5965E5 #8E96ED #C3C7F6

Accessibility & contrast

On white

4.75
#5965E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5965E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965E5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965E5#FFFFFF#000000##FFFFFF
##5965E51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5965e5;
/* rgb */ color: rgb(89, 101, 229);
/* oklch */ color: oklch(56.8% 0.192 274.5);
Tailwind
colors: {
  custom: {
    50: '#9590ee',
    500: '#5965e5',
    950: '#000000',
  },
}
SCSS
$custom: #5965e5;
$custom-light: #9590ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5965e5",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 229
  },
  "hsl": {
    "h": 234.857,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.19188,
    "h": 274.5
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#5965E5
secondary
#E6E2B3
accent
#C410D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965E5

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

Preview Lab → · Contrast checker → · Palette generator →

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