#5965F2#5965F2

#5965F2 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.8% C 0.209 H 274.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5965F2
RGBrgb(89, 101, 242)
HSLhsl(235, 85%, 65%)
HSVhsv(235, 63%, 95%)
CMYKcmyk(63.2%, 58.3%, 0%, 5.1%)
CIE-LABlab(49.30, 38.01, -72.37)
CIE-LCHlch(49.30, 81.75, 297.71°)
OKLaboklab(57.8% 0.0151 -0.2083)
OKLCHoklch(57.8% 0.209 274.1)
XYZxyz(24.7952, 17.8399, 86.1240)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5965F2 #F2E659
analogous
#59B2F2 #5965F2 #9959F2
triadic
#5965F2 #F25965 #65F259
tetradic
#5965F2 #F259B2 #F2E659 #59F299
square
#5965F2 #F259B2 #F2E659 #59F299
split-complementary
#5965F2 #F29959 #B2F259
monochromatic
#0F1DC1 #2030EE #5965F2 #929AF6 #CBCEFB

Accessibility & contrast

On white

4.60
#5965F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5965F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5965F2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5965F2#FFFFFF#000000##FFFFFF
##5965F21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5965f2;
/* rgb */ color: rgb(89, 101, 242);
/* oklch */ color: oklch(57.8% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#9791f7',
    500: '#5965f2',
    950: '#000000',
  },
}
SCSS
$custom: #5965f2;
$custom-light: #9791f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5965f2",
  "rgb": {
    "r": 89,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 235.294,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.20885,
    "h": 274.1
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#5965F2
secondary
#EDE9B9
accent
#D104E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5965F2

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

Preview Lab → · Contrast checker → · Palette generator →

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