#5B6DEF#5B6DEF

#5B6DEF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.195 H 273.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B6DEF
RGBrgb(91, 109, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 62%, 94%)
CMYKcmyk(61.9%, 54.4%, 0%, 6.3%)
CIE-LABlab(51.14, 32.48, -67.71)
CIE-LCHlch(51.14, 75.09, 295.63°)
OKLaboklab(59.14% 0.0102 -0.1944)
OKLCHoklch(59.14% 0.195 273)
XYZxyz(25.3578, 19.3913, 84.0512)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DEF #EFDD5B
analogous
#5BB7EF #5B6DEF #935BEF
triadic
#5B6DEF #EF5B6D #6DEF5B
tetradic
#5B6DEF #EF5BB7 #EFDD5B #5BEF93
square
#5B6DEF #EF5BB7 #EFDD5B #5BEF93
split-complementary
#5B6DEF #EF935B #B7EF5B
monochromatic
#1227BD #233BEA #5B6DEF #939FF4 #CBD0FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6DEF#FFFFFF#000000##000000
##5B6DEF1.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)
#0081F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6def;
/* rgb */ color: rgb(91, 109, 239);
/* oklch */ color: oklch(59.1% 0.195 273.0);
Tailwind
colors: {
  custom: {
    50: '#9796f5',
    500: '#5b6def',
    950: '#000000',
  },
}
SCSS
$custom: #5b6def;
$custom-light: #9796f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6def",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 232.703,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.19471,
    "h": 273
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#5B6DEF
secondary
#ECE6BA
accent
#C407DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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