#5B65CC#5B65CC

#5B65CC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.158 H 275.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B65CC
RGBrgb(91, 101, 204)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 55%, 80%)
CMYKcmyk(55.4%, 50.5%, 0%, 20%)
CIE-LABlab(46.83, 25.90, -54.85)
CIE-LCHlch(46.83, 60.66, 295.28°)
OKLaboklab(55.17% 0.0159 -0.1567)
OKLCHoklch(55.17% 0.158 275.8)
XYZxyz(19.8637, 15.8898, 59.1353)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65CC #CCC25B
analogous
#5B9ECC #5B65CC #895BCC
triadic
#5B65CC #CC5B65 #65CC5B
tetradic
#5B65CC #CC5B9E #CCC25B #5BCC89
square
#5B65CC #CC5B9E #CCC25B #5BCC89
split-complementary
#5B65CC #CC895B #9ECC5B
monochromatic
#293184 #3742B2 #5B65CC #8A91DB #B8BDE9

Accessibility & contrast

On white

5.03
#5B65CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5B65CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65CC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65CC#FFFFFF#000000##FFFFFF
##5B65CC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#1E6ACA
Tritanopia (blue-blind)
#1F7C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b65cc;
/* rgb */ color: rgb(91, 101, 204);
/* oklch */ color: oklch(55.2% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#9290dc',
    500: '#5b65cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b65cc;
$custom-light: #9290dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65cc",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 234.69,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.1575,
    "h": 275.8
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#5B65CC
secondary
#D8D4AB
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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