#5B65CF#5B65CF

#5B65CF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.162 H 275.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5B65CF
RGBrgb(91, 101, 207)
HSLhsl(235, 55%, 58%)
HSVhsv(235, 56%, 81%)
CMYKcmyk(56%, 51.2%, 0%, 18.8%)
CIE-LABlab(47.02, 26.88, -56.26)
CIE-LCHlch(47.02, 62.35, 295.53°)
OKLaboklab(55.37% 0.0161 -0.1608)
OKLCHoklch(55.37% 0.162 275.7)
XYZxyz(20.2269, 16.0351, 61.0486)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65CF #CFC55B
analogous
#5B9FCF #5B65CF #8B5BCF
triadic
#5B65CF #CF5B65 #65CF5B
tetradic
#5B65CF #CF5B9F #CFC55B #5BCF8B
square
#5B65CF #CF5B9F #CFC55B #5BCF8B
split-complementary
#5B65CF #CF8B5B #9FCF5B
monochromatic
#283088 #3641B7 #5B65CF #8A91DD #BABEEB

Accessibility & contrast

On white

4.99
#5B65CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5B65CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65CF#FFFFFF#000000##FFFFFF
##5B65CF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D3
Deuteranopia (green-blind)
#166BCD
Tritanopia (blue-blind)
#197D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b65cf;
/* rgb */ color: rgb(91, 101, 207);
/* oklch */ color: oklch(55.4% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5b65cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b65cf;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65cf",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 234.828,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.16166,
    "h": 275.7
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#5B65CF
secondary
#DAD6AC
accent
#D14ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B65CF

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

Preview Lab → · Contrast checker → · Palette generator →

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