#5965CF#5965CF

#5965CF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.162 H 274.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5965CF
RGBrgb(89, 101, 207)
HSLhsl(234, 55%, 58%)
HSVhsv(234, 57%, 81%)
CMYKcmyk(57%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.89, 26.48, -56.48)
CIE-LCHlch(46.89, 62.38, 295.12°)
OKLaboklab(55.24% 0.0139 -0.1615)
OKLCHoklch(55.24% 0.162 274.9)
XYZxyz(20.0323, 15.9347, 61.0395)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965CF #CFC359
analogous
#59A0CF #5965CF #8859CF
triadic
#5965CF #CF5965 #65CF59
tetradic
#5965CF #CF59A0 #CFC359 #59CF88
square
#5965CF #CF59A0 #CFC359 #59CF88
split-complementary
#5965CF #CF8859 #A0CF59
monochromatic
#273187 #3542B6 #5965CF #8891DD #B8BDEA

Accessibility & contrast

On white

5.02
#5965CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5965CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965CF#FFFFFF#000000##FFFFFF
##5965CF1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#136ACD
Tritanopia (blue-blind)
#0D7D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5965cf;
/* rgb */ color: rgb(89, 101, 207);
/* oklch */ color: oklch(55.2% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#9190de',
    500: '#5965cf',
    950: '#000000',
  },
}
SCSS
$custom: #5965cf;
$custom-light: #9190de;
$custom-dark: #000000;
JSON
{
  "hex": "#5965cf",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 233.898,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.16215,
    "h": 274.9
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#5965CF
secondary
#D9D5AA
accent
#CF49DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5965CF

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

Preview Lab → · Contrast checker → · Palette generator →

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