#5B6FE5#5B6FE5

#5B6FE5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.179 H 272.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B6FE5
RGBrgb(91, 111, 229)
HSLhsl(231, 73%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(60.3%, 51.5%, 0%, 10.2%)
CIE-LABlab(50.98, 27.94, -62.37)
CIE-LCHlch(50.98, 68.34, 294.13°)
OKLaboklab(58.8% 0.0078 -0.1787)
OKLCHoklch(58.8% 0.179 272.5)
XYZxyz(24.1370, 19.2482, 76.5569)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FE5 #E5D15B
analogous
#5BB4E5 #5B6FE5 #8C5BE5
triadic
#5B6FE5 #E55B6F #6FE55B
tetradic
#5B6FE5 #E55BB4 #E5D15B #5BE58C
square
#5B6FE5 #E55BB4 #E5D15B #5BE58C
split-complementary
#5B6FE5 #E58C5B #B4E55B
monochromatic
#1B30AB #2641DD #5B6FE5 #909DED #C5CCF6

Accessibility & contrast

On white

4.33
#5B6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5B6FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FE5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FE5#FFFFFF#000000##000000
##5B6FE51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b6fe5;
/* rgb */ color: rgb(91, 111, 229);
/* oklch */ color: oklch(58.8% 0.179 272.5);
Tailwind
colors: {
  custom: {
    50: '#9598ee',
    500: '#5b6fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fe5;
$custom-light: #9598ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fe5",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 231.304,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.17888,
    "h": 272.5
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#5B6FE5
secondary
#E7E0B5
accent
#B811D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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