#5B65E8#5B65E8

#5B65E8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.195 H 275.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B65E8
RGBrgb(91, 101, 232)
HSLhsl(236, 75%, 63%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(60.8%, 56.5%, 0%, 9%)
CIE-LABlab(48.71, 35.05, -67.73)
CIE-LCHlch(48.71, 76.26, 297.36°)
OKLaboklab(57.17% 0.0173 -0.1946)
OKLCHoklch(57.17% 0.195 275.1)
XYZxyz(23.5288, 17.3558, 78.4384)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65E8 #E8DE5B
analogous
#5BABE8 #5B65E8 #975BE8
triadic
#5B65E8 #E85B65 #65E85B
tetradic
#5B65E8 #E85BAB #E8DE5B #5BE897
square
#5B65E8 #E85BAB #E8DE5B #5BE897
split-complementary
#5B65E8 #E8975B #ABE85B
monochromatic
#1923B0 #2533E0 #5B65E8 #9197F0 #C6CAF7

Accessibility & contrast

On white

4.70
#5B65E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5B65E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65E8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65E8#FFFFFF#000000##FFFFFF
##5B65E81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b65e8;
/* rgb */ color: rgb(91, 101, 232);
/* oklch */ color: oklch(57.2% 0.195 275.1);
Tailwind
colors: {
  custom: {
    50: '#9691f0',
    500: '#5b65e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b65e8;
$custom-light: #9691f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65e8",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 235.745,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.19535,
    "h": 275.1
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#5B65E8
secondary
#E9E5B6
accent
#C90ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B65E8

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

Preview Lab → · Contrast checker → · Palette generator →

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