#5B65C8#5B65C8

#5B65C8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.152 H 275.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B65C8
RGBrgb(91, 101, 200)
HSLhsl(234, 50%, 57%)
HSVhsv(234, 55%, 78%)
CMYKcmyk(54.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(46.58, 24.60, -52.96)
CIE-LCHlch(46.58, 58.39, 294.92°)
OKLaboklab(54.9% 0.0155 -0.1511)
OKLCHoklch(54.9% 0.152 275.9)
XYZxyz(19.3901, 15.7003, 56.6411)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65C8 #C8BE5B
analogous
#5B9CC8 #5B65C8 #875BC8
triadic
#5B65C8 #C85B65 #65C85B
tetradic
#5B65C8 #C85B9C #C8BE5B #5BC887
square
#5B65C8 #C85B9C #C8BE5B #5BC887
split-complementary
#5B65C8 #C8875B #9CC85B
monochromatic
#2A327E #3A44AC #5B65C8 #8990D7 #B7BBE7

Accessibility & contrast

On white

5.07
#5B65C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5B65C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65C8#FFFFFF#000000##FFFFFF
##5B65C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#257B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b65c8;
/* rgb */ color: rgb(91, 101, 200);
/* oklch */ color: oklch(54.9% 0.152 275.9);
Tailwind
colors: {
  custom: {
    50: '#9190d9',
    500: '#5b65c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b65c8;
$custom-light: #9190d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65c8",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 234.495,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.15192,
    "h": 275.9
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#5B65C8
secondary
#D6D1A9
accent
#CD4FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5B65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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