#5965E7#5965E7

#5965E7 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.0% C 0.195 H 274.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5965E7
RGBrgb(89, 101, 231)
HSLhsl(235, 75%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61.5%, 56.3%, 0%, 9.4%)
CIE-LABlab(48.51, 34.39, -67.49)
CIE-LCHlch(48.51, 75.74, 297.00°)
OKLaboklab(56.97% 0.0151 -0.1939)
OKLCHoklch(56.97% 0.195 274.4)
XYZxyz(23.1926, 17.1988, 77.6833)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965E7 #E7DB59
analogous
#59ACE7 #5965E7 #9459E7
triadic
#5965E7 #E75965 #65E759
tetradic
#5965E7 #E759AC #E7DB59 #59E794
square
#5965E7 #E759AC #E7DB59 #59E794
split-complementary
#5965E7 #E79459 #ACE759
monochromatic
#1925AD #2433DF #5965E7 #8E97EF #C4C8F6

Accessibility & contrast

On white

4.73
#5965E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5965E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965E7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965E7#FFFFFF#000000##FFFFFF
##5965E71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5965e7;
/* rgb */ color: rgb(89, 101, 231);
/* oklch */ color: oklch(57.0% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#9590ef',
    500: '#5965e7',
    950: '#000000',
  },
}
SCSS
$custom: #5965e7;
$custom-light: #9590ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5965e7",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 234.93,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.19451,
    "h": 274.4
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#5965E7
secondary
#E8E3B4
accent
#C60FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5965E7

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

Preview Lab → · Contrast checker → · Palette generator →

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