#5B65EC#5B65EC

#5B65EC is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.5% C 0.201 H 274.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B65EC
RGBrgb(91, 101, 236)
HSLhsl(236, 79%, 64%)
HSVhsv(236, 61%, 93%)
CMYKcmyk(61.4%, 57.2%, 0%, 7.5%)
CIE-LABlab(48.99, 36.35, -69.51)
CIE-LCHlch(48.99, 78.45, 297.61°)
OKLaboklab(57.47% 0.0173 -0.1998)
OKLCHoklch(57.47% 0.201 274.9)
XYZxyz(24.1034, 17.5857, 81.4648)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65EC #ECE25B
analogous
#5BAEEC #5B65EC #9A5BEC
triadic
#5B65EC #EC5B65 #65EC5B
tetradic
#5B65EC #EC5BAE #ECE25B #5BEC9A
square
#5B65EC #EC5BAE #ECE25B #5BEC9A
split-complementary
#5B65EC #EC9A5B #AEEC5B
monochromatic
#1520B7 #2432E6 #5B65EC #9299F2 #C9CCF9

Accessibility & contrast

On white

4.65
#5B65EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5B65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65EC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65EC#FFFFFF#000000##FFFFFF
##5B65EC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b65ec;
/* rgb */ color: rgb(91, 101, 236);
/* oklch */ color: oklch(57.5% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#9791f3',
    500: '#5b65ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b65ec;
$custom-light: #9791f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65ec",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 235.862,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.20059,
    "h": 274.9
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#5B65EC
secondary
#EBE7B8
accent
#CD0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B65EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B65EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva