#5965DB#5965DB

#5965DB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.179 H 274.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5965DB
RGBrgb(89, 101, 219)
HSLhsl(234, 64%, 60%)
HSVhsv(234, 59%, 86%)
CMYKcmyk(59.4%, 53.9%, 0%, 14.1%)
CIE-LABlab(47.68, 30.43, -62.05)
CIE-LCHlch(47.68, 69.11, 296.13°)
OKLaboklab(56.08% 0.0147 -0.1779)
OKLCHoklch(56.08% 0.179 274.7)
XYZxyz(21.5555, 16.5440, 69.0615)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965DB #DBCF59
analogous
#59A6DB #5965DB #8E59DB
triadic
#5965DB #DB5965 #65DB59
tetradic
#5965DB #DB59A6 #DBCF59 #59DB8E
square
#5965DB #DB59A6 #DBCF59 #59DB8E
split-complementary
#5965DB #DB8E59 #A6DB59
monochromatic
#212C99 #2C3BCB #5965DB #8B94E6 #BEC2F1

Accessibility & contrast

On white

4.87
#5965DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5965DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965DB#FFFFFF#000000##FFFFFF
##5965DB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5965db;
/* rgb */ color: rgb(89, 101, 219);
/* oklch */ color: oklch(56.1% 0.179 274.7);
Tailwind
colors: {
  custom: {
    50: '#9390e7',
    500: '#5965db',
    950: '#000000',
  },
}
SCSS
$custom: #5965db;
$custom-light: #9390e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5965db",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 234.462,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.17852,
    "h": 274.7
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#5965DB
secondary
#E1DCAF
accent
#BC19CC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5965DB

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

Preview Lab → · Contrast checker → · Palette generator →

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