#5B65CB#5B65CB

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

Color values

HEX#5B65CB
RGBrgb(91, 101, 203)
HSLhsl(235, 52%, 58%)
HSVhsv(235, 55%, 80%)
CMYKcmyk(55.2%, 50.2%, 0%, 20.4%)
CIE-LABlab(46.77, 25.58, -54.38)
CIE-LCHlch(46.77, 60.09, 295.19°)
OKLaboklab(55.1% 0.0158 -0.1553)
OKLCHoklch(55.1% 0.156 275.8)
XYZxyz(19.7441, 15.8420, 58.5057)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65CB #CBC15B
analogous
#5B9DCB #5B65CB #895BCB
triadic
#5B65CB #CB5B65 #65CB5B
tetradic
#5B65CB #CB5B9D #CBC15B #5BCB89
square
#5B65CB #CB5B9D #CBC15B #5BCB89
split-complementary
#5B65CB #CB895B #9DCB5B
monochromatic
#293182 #3843B1 #5B65CB #8991DA #B8BCE8

Accessibility & contrast

On white

5.04
#5B65CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5B65CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65CB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65CB#FFFFFF#000000##FFFFFF
##5B65CB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#206AC9
Tritanopia (blue-blind)
#207C8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b65cb;
/* rgb */ color: rgb(91, 101, 203);
/* oklch */ color: oklch(55.1% 0.156 275.8);
Tailwind
colors: {
  custom: {
    50: '#9290db',
    500: '#5b65cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b65cb;
$custom-light: #9290db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65cb",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 234.643,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.15611,
    "h": 275.8
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#5B65CB
secondary
#D7D3AA
accent
#CF4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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