#5965D9#5965D9

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

Color values

HEX#5965D9
RGBrgb(89, 101, 217)
HSLhsl(234, 63%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(59%, 53.5%, 0%, 14.9%)
CIE-LABlab(47.55, 29.77, -61.13)
CIE-LCHlch(47.55, 67.99, 295.97°)
OKLaboklab(55.94% 0.0146 -0.1752)
OKLCHoklch(55.94% 0.176 274.8)
XYZxyz(21.2938, 16.4393, 67.6832)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965D9 #D9CD59
analogous
#59A5D9 #5965D9 #8D59D9
triadic
#5965D9 #D95965 #65D959
tetradic
#5965D9 #D959A5 #D9CD59 #59D98D
square
#5965D9 #D959A5 #D9CD59 #59D98D
split-complementary
#5965D9 #D98D59 #A5D959
monochromatic
#222D95 #2E3CC7 #5965D9 #8B93E4 #BDC1F0

Accessibility & contrast

On white

4.90
#5965D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5965D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965D9#FFFFFF#000000##FFFFFF
##5965D91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5965d9;
/* rgb */ color: rgb(89, 101, 217);
/* oklch */ color: oklch(55.9% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#9390e5',
    500: '#5965d9',
    950: '#000000',
  },
}
SCSS
$custom: #5965d9;
$custom-light: #9390e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5965d9",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 234.375,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.17583,
    "h": 274.8
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#5965D9
secondary
#E0DBAE
accent
#D642E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965D9

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

Preview Lab → · Contrast checker → · Palette generator →

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