#5965D8#5965D8

#5965D8 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.174 H 274.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5965D8
RGBrgb(89, 101, 216)
HSLhsl(234, 62%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(58.8%, 53.2%, 0%, 15.3%)
CIE-LABlab(47.48, 29.44, -60.67)
CIE-LCHlch(47.48, 67.43, 295.89°)
OKLaboklab(55.87% 0.0145 -0.1739)
OKLCHoklch(55.87% 0.174 274.8)
XYZxyz(21.1641, 16.3875, 67.0003)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965D8 #D8CC59
analogous
#59A4D8 #5965D8 #8D59D8
triadic
#5965D8 #D85965 #65D859
tetradic
#5965D8 #D859A4 #D8CC59 #59D88D
square
#5965D8 #D859A4 #D8CC59 #59D88D
split-complementary
#5965D8 #D88D59 #A4D859
monochromatic
#232D94 #2E3DC5 #5965D8 #8B93E4 #BCC1EF

Accessibility & contrast

On white

4.91
#5965D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5965D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965D8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965D8#FFFFFF#000000##FFFFFF
##5965D81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DC
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5965d8;
/* rgb */ color: rgb(89, 101, 216);
/* oklch */ color: oklch(55.9% 0.174 274.8);
Tailwind
colors: {
  custom: {
    50: '#9390e5',
    500: '#5965d8',
    950: '#000000',
  },
}
SCSS
$custom: #5965d8;
$custom-light: #9390e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5965d8",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 234.331,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.17447,
    "h": 274.8
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#5965D8
secondary
#DFDAAE
accent
#D643E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965D8

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

Preview Lab → · Contrast checker → · Palette generator →

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