#5B6BE5#5B6BE5

#5B6BE5 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.0% C 0.184 H 273.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5B6BE5
RGBrgb(91, 107, 229)
HSLhsl(233, 73%, 63%)
HSVhsv(233, 60%, 90%)
CMYKcmyk(60.3%, 53.3%, 0%, 10.2%)
CIE-LABlab(49.97, 30.39, -63.99)
CIE-LCHlch(49.97, 70.84, 295.41°)
OKLaboklab(58.05% 0.0116 -0.1835)
OKLCHoklch(58.05% 0.184 273.6)
XYZxyz(23.7103, 18.3948, 76.4146)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BE5 #E5D55B
analogous
#5BB0E5 #5B6BE5 #905BE5
triadic
#5B6BE5 #E55B6B #6BE55B
tetradic
#5B6BE5 #E55BB0 #E5D55B #5BE590
square
#5B6BE5 #E55BB0 #E5D55B #5BE590
split-complementary
#5B6BE5 #E5905B #B0E55B
monochromatic
#1B2CAB #263BDD #5B6BE5 #909BED #C5CAF6

Accessibility & contrast

On white

4.49
#5B6BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5B6BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BE5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BE5#FFFFFF#000000##000000
##5B6BE51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6be5;
/* rgb */ color: rgb(91, 107, 229);
/* oklch */ color: oklch(58.0% 0.184 273.6);
Tailwind
colors: {
  custom: {
    50: '#9695ee',
    500: '#5b6be5',
    950: '#000000',
  },
}
SCSS
$custom: #5b6be5;
$custom-light: #9695ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6be5",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 233.043,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.18389,
    "h": 273.6
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#5B6BE5
secondary
#E7E1B5
accent
#BE11D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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