#5965DF#5965DF

#5965DF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.184 H 274.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5965DF
RGBrgb(89, 101, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 60%, 87%)
CMYKcmyk(60.1%, 54.7%, 0%, 12.5%)
CIE-LABlab(47.95, 31.75, -63.87)
CIE-LCHlch(47.95, 71.33, 296.43°)
OKLaboklab(56.37% 0.0149 -0.1833)
OKLCHoklch(56.37% 0.184 274.6)
XYZxyz(22.0884, 16.7572, 71.8682)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965DF #DFD359
analogous
#59A8DF #5965DF #9059DF
triadic
#5965DF #DF5965 #65DF59
tetradic
#5965DF #DF59A8 #DFD359 #59DF90
square
#5965DF #DF59A8 #DFD359 #59DF90
split-complementary
#5965DF #DF9059 #A8DF59
monochromatic
#1F2A9F #2938D2 #5965DF #8C95E9 #C0C4F3

Accessibility & contrast

On white

4.83
#5965DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5965DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965DF#FFFFFF#000000##FFFFFF
##5965DF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0378E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5965df;
/* rgb */ color: rgb(89, 101, 223);
/* oklch */ color: oklch(56.4% 0.184 274.6);
Tailwind
colors: {
  custom: {
    50: '#9490ea',
    500: '#5965df',
    950: '#000000',
  },
}
SCSS
$custom: #5965df;
$custom-light: #9490ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5965df",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 234.627,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.1839,
    "h": 274.6
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#5965DF
secondary
#E3DFB1
accent
#BF16D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965DF

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

Preview Lab → · Contrast checker → · Palette generator →

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