#5B6CF3#5B6CF3

#5B6CF3 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.3% C 0.201 H 273.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B6CF3
RGBrgb(91, 108, 243)
HSLhsl(233, 86%, 65%)
HSVhsv(233, 63%, 95%)
CMYKcmyk(62.6%, 55.6%, 0%, 4.7%)
CIE-LABlab(51.17, 34.41, -69.89)
CIE-LCHlch(51.17, 77.90, 296.21°)
OKLaboklab(59.25% 0.0112 -0.2009)
OKLCHoklch(59.25% 0.201 273.2)
XYZxyz(25.8492, 19.4181, 87.1625)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CF3 #F3E25B
analogous
#5BB8F3 #5B6CF3 #965BF3
triadic
#5B6CF3 #F35B6C #6CF35B
tetradic
#5B6CF3 #F35BB8 #F3E25B #5BF396
square
#5B6CF3 #F35BB8 #F3E25B #5BF396
split-complementary
#5B6CF3 #F3965B #B8F35B
monochromatic
#0E23C5 #2239EF #5B6CF3 #949FF7 #CDD2FB

Accessibility & contrast

On white

4.30
#5B6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5B6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CF3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CF3#FFFFFF#000000##000000
##5B6CF31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6cf3;
/* rgb */ color: rgb(91, 108, 243);
/* oklch */ color: oklch(59.3% 0.201 273.2);
Tailwind
colors: {
  custom: {
    50: '#9896f8',
    500: '#5b6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cf3;
$custom-light: #9896f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cf3",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 233.289,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.20118,
    "h": 273.2
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#5B6CF3
secondary
#EEE9BB
accent
#CA03E3
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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