#5B6CEC#5B6CEC

#5B6CEC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.192 H 273.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B6CEC
RGBrgb(91, 108, 236)
HSLhsl(233, 79%, 64%)
HSVhsv(233, 61%, 93%)
CMYKcmyk(61.4%, 54.2%, 0%, 7.5%)
CIE-LABlab(50.69, 32.09, -66.76)
CIE-LCHlch(50.69, 74.07, 295.68°)
OKLaboklab(58.74% 0.011 -0.1917)
OKLCHoklch(58.74% 0.192 273.3)
XYZxyz(24.8123, 19.0033, 81.7011)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CEC #ECDB5B
analogous
#5BB4EC #5B6CEC #935BEC
triadic
#5B6CEC #EC5B6C #6CEC5B
tetradic
#5B6CEC #EC5BB4 #ECDB5B #5BEC93
square
#5B6CEC #EC5BB4 #ECDB5B #5BEC93
split-complementary
#5B6CEC #EC935B #B4EC5B
monochromatic
#1528B7 #243BE6 #5B6CEC #929DF2 #C9CEF9

Accessibility & contrast

On white

4.37
#5B6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CEC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CEC#FFFFFF#000000##000000
##5B6CEC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b6cec;
/* rgb */ color: rgb(91, 108, 236);
/* oklch */ color: oklch(58.7% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#9796f3',
    500: '#5b6cec',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cec;
$custom-light: #9796f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cec",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 232.966,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.19197,
    "h": 273.3
  },
  "luminance": 0.19005
}

Semantic roles & 50–950 ramp

primary
#5B6CEC
secondary
#EBE5B8
accent
#C30ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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