#5B6FEC#5B6FEC

#5B6FEC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.3% C 0.188 H 272.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B6FEC
RGBrgb(91, 111, 236)
HSLhsl(232, 79%, 64%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(61.4%, 53%, 0%, 7.5%)
CIE-LABlab(51.44, 30.26, -65.55)
CIE-LCHlch(51.44, 72.20, 294.78°)
OKLaboklab(59.3% 0.0082 -0.1881)
OKLCHoklch(59.3% 0.188 272.5)
XYZxyz(25.1341, 19.6471, 81.8084)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FEC #ECD85B
analogous
#5BB8EC #5B6FEC #905BEC
triadic
#5B6FEC #EC5B6F #6FEC5B
tetradic
#5B6FEC #EC5BB8 #ECD85B #5BEC90
square
#5B6FEC #EC5BB8 #ECD85B #5BEC90
split-complementary
#5B6FEC #EC905B #B8EC5B
monochromatic
#152CB7 #243FE6 #5B6FEC #929FF2 #C9CFF9

Accessibility & contrast

On white

4.26
#5B6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5B6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FEC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FEC#FFFFFF#000000##000000
##5B6FEC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b6fec;
/* rgb */ color: rgb(91, 111, 236);
/* oklch */ color: oklch(59.3% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#9698f3',
    500: '#5b6fec',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fec;
$custom-light: #9698f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fec",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 231.724,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.18826,
    "h": 272.5
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#5B6FEC
secondary
#EBE4B8
accent
#BF0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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