#5965EA#5965EA

#5965EA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.198 H 274.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5965EA
RGBrgb(89, 101, 234)
HSLhsl(235, 78%, 63%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(62%, 56.8%, 0%, 8.2%)
CIE-LABlab(48.72, 35.38, -68.83)
CIE-LCHlch(48.72, 77.39, 297.20°)
OKLaboklab(57.19% 0.0151 -0.1979)
OKLCHoklch(57.19% 0.198 274.4)
XYZxyz(23.6199, 17.3698, 79.9339)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965EA #EADE59
analogous
#59AEEA #5965EA #9559EA
triadic
#5965EA #EA5965 #65EA59
tetradic
#5965EA #EA59AE #EADE59 #59EA95
square
#5965EA #EA59AE #EADE59 #59EA95
split-complementary
#5965EA #EA9559 #AEEA59
monochromatic
#1723B2 #2333E3 #5965EA #8F97F1 #C6CAF8

Accessibility & contrast

On white

4.69
#5965EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5965EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5965EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965EA#FFFFFF#000000##FFFFFF
##5965EA1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5965ea;
/* rgb */ color: rgb(89, 101, 234);
/* oklch */ color: oklch(57.2% 0.198 274.4);
Tailwind
colors: {
  custom: {
    50: '#9690f2',
    500: '#5965ea',
    950: '#000000',
  },
}
SCSS
$custom: #5965ea;
$custom-light: #9690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5965ea",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 235.034,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.19846,
    "h": 274.4
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#5965EA
secondary
#E9E5B6
accent
#C90CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5965EA

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

Preview Lab → · Contrast checker → · Palette generator →

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