#5B6DF3#5B6DF3

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

Color values

HEX#5B6DF3
RGBrgb(91, 109, 243)
HSLhsl(233, 86%, 65%)
HSVhsv(233, 63%, 95%)
CMYKcmyk(62.6%, 55.1%, 0%, 4.7%)
CIE-LABlab(51.42, 33.80, -69.49)
CIE-LCHlch(51.42, 77.28, 295.94°)
OKLaboklab(59.43% 0.0104 -0.1997)
OKLCHoklch(59.43% 0.2 273)
XYZxyz(25.9553, 19.6303, 87.1979)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DF3 #F3E15B
analogous
#5BB9F3 #5B6DF3 #955BF3
triadic
#5B6DF3 #F35B6D #6DF35B
tetradic
#5B6DF3 #F35BB9 #F3E15B #5BF395
square
#5B6DF3 #F35BB9 #F3E15B #5BF395
split-complementary
#5B6DF3 #F3955B #B9F35B
monochromatic
#0E24C5 #223AEF #5B6DF3 #94A0F7 #CDD3FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6DF3#FFFFFF#000000##000000
##5B6DF31.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)
#0081F8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6df3;
/* rgb */ color: rgb(91, 109, 243);
/* oklch */ color: oklch(59.4% 0.200 273.0);
Tailwind
colors: {
  custom: {
    50: '#9896f8',
    500: '#5b6df3',
    950: '#000000',
  },
}
SCSS
$custom: #5b6df3;
$custom-light: #9896f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6df3",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 232.895,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.19997,
    "h": 273
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#5B6DF3
secondary
#EEE8BB
accent
#C803E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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