#5965E9#5965E9

#5965E9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.197 H 274.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5965E9
RGBrgb(89, 101, 233)
HSLhsl(235, 77%, 63%)
HSVhsv(235, 62%, 91%)
CMYKcmyk(61.8%, 56.7%, 0%, 8.6%)
CIE-LABlab(48.65, 35.05, -68.38)
CIE-LCHlch(48.65, 76.84, 297.13°)
OKLaboklab(57.12% 0.0151 -0.1966)
OKLCHoklch(57.12% 0.197 274.4)
XYZxyz(23.4766, 17.3125, 79.1795)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965E9 #E9DD59
analogous
#59ADE9 #5965E9 #9559E9
triadic
#5965E9 #E95965 #65E959
tetradic
#5965E9 #E959AD #E9DD59 #59E995
square
#5965E9 #E959AD #E9DD59 #59E995
split-complementary
#5965E9 #E99559 #ADE959
monochromatic
#1724B0 #2333E2 #5965E9 #8F97F0 #C5C9F7

Accessibility & contrast

On white

4.71
#5965E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5965E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965E9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965E9#FFFFFF#000000##FFFFFF
##5965E91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5965e9;
/* rgb */ color: rgb(89, 101, 233);
/* oklch */ color: oklch(57.1% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#9690f1',
    500: '#5965e9',
    950: '#000000',
  },
}
SCSS
$custom: #5965e9;
$custom-light: #9690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5965e9",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 235,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.19714,
    "h": 274.4
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#5965E9
secondary
#E9E4B5
accent
#C80DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5965E9

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

Preview Lab → · Contrast checker → · Palette generator →

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