#5B6FEF#5B6FEF

#5B6FEF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.192 H 272.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5B6FEF
RGBrgb(91, 111, 239)
HSLhsl(232, 82%, 65%)
HSVhsv(232, 62%, 94%)
CMYKcmyk(61.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(51.64, 31.25, -66.90)
CIE-LCHlch(51.64, 73.85, 295.04°)
OKLaboklab(59.51% 0.0084 -0.1921)
OKLCHoklch(59.51% 0.192 272.5)
XYZxyz(25.5736, 19.8229, 84.1231)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FEF #EFDB5B
analogous
#5BB9EF #5B6FEF #915BEF
triadic
#5B6FEF #EF5B6F #6FEF5B
tetradic
#5B6FEF #EF5BB9 #EFDB5B #5BEF91
square
#5B6FEF #EF5BB9 #EFDB5B #5BEF91
split-complementary
#5B6FEF #EF915B #B9EF5B
monochromatic
#122ABD #233EEA #5B6FEF #93A0F4 #CBD1FA

Accessibility & contrast

On white

4.23
#5B6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FEF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FEF#FFFFFF#000000##000000
##5B6FEF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b6fef;
/* rgb */ color: rgb(91, 111, 239);
/* oklch */ color: oklch(59.5% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#9798f5',
    500: '#5b6fef',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fef;
$custom-light: #9798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fef",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 231.892,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.19224,
    "h": 272.5
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#5B6FEF
secondary
#ECE5BA
accent
#C107DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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