#5B6BEC#5B6BEC

#5B6BEC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.193 H 273.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5B6BEC
RGBrgb(91, 107, 236)
HSLhsl(233, 79%, 64%)
HSVhsv(233, 61%, 93%)
CMYKcmyk(61.4%, 54.7%, 0%, 7.5%)
CIE-LABlab(50.44, 32.70, -67.15)
CIE-LCHlch(50.44, 74.69, 295.97°)
OKLaboklab(58.55% 0.0119 -0.1928)
OKLCHoklch(58.55% 0.193 273.5)
XYZxyz(24.7074, 18.7936, 81.6661)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BEC #ECDC5B
analogous
#5BB4EC #5B6BEC #945BEC
triadic
#5B6BEC #EC5B6B #6BEC5B
tetradic
#5B6BEC #EC5BB4 #ECDC5B #5BEC94
square
#5B6BEC #EC5BB4 #ECDC5B #5BEC94
split-complementary
#5B6BEC #EC945B #B4EC5B
monochromatic
#1527B7 #243AE6 #5B6BEC #929CF2 #C9CEF9

Accessibility & contrast

On white

4.41
#5B6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5B6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BEC#FFFFFF#000000##000000
##5B6BEC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6bec;
/* rgb */ color: rgb(91, 107, 236);
/* oklch */ color: oklch(58.6% 0.193 273.5);
Tailwind
colors: {
  custom: {
    50: '#9795f3',
    500: '#5b6bec',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bec;
$custom-light: #9795f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bec",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 233.379,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.19321,
    "h": 273.5
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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