#5B6CEF#5B6CEF

#5B6CEF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.196 H 273.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B6CEF
RGBrgb(91, 108, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 62%, 94%)
CMYKcmyk(61.9%, 54.8%, 0%, 6.3%)
CIE-LABlab(50.90, 33.09, -68.10)
CIE-LCHlch(50.90, 75.71, 295.91°)
OKLaboklab(58.96% 0.0111 -0.1956)
OKLCHoklch(58.96% 0.196 273.2)
XYZxyz(25.2518, 19.1792, 84.0158)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CEF #EFDE5B
analogous
#5BB6EF #5B6CEF #945BEF
triadic
#5B6CEF #EF5B6C #6CEF5B
tetradic
#5B6CEF #EF5BB6 #EFDE5B #5BEF94
square
#5B6CEF #EF5BB6 #EFDE5B #5BEF94
split-complementary
#5B6CEF #EF945B #B6EF5B
monochromatic
#1226BD #233AEA #5B6CEF #939EF4 #CBD0FA

Accessibility & contrast

On white

4.34
#5B6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5B6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CEF#FFFFFF#000000##000000
##5B6CEF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b6cef;
/* rgb */ color: rgb(91, 108, 239);
/* oklch */ color: oklch(59.0% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#9796f5',
    500: '#5b6cef',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cef;
$custom-light: #9796f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cef",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 233.108,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.19593,
    "h": 273.2
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#5B6CEF
secondary
#ECE6BA
accent
#C607DF
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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