#5B6EEF#5B6EEF

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

Color values

HEX#5B6EEF
RGBrgb(91, 110, 239)
HSLhsl(232, 82%, 65%)
HSVhsv(232, 62%, 94%)
CMYKcmyk(61.9%, 54%, 0%, 6.3%)
CIE-LABlab(51.39, 31.87, -67.31)
CIE-LCHlch(51.39, 74.47, 295.33°)
OKLaboklab(59.32% 0.0093 -0.1932)
OKLCHoklch(59.32% 0.193 272.8)
XYZxyz(25.4651, 19.6059, 84.0870)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EEF #EFDC5B
analogous
#5BB8EF #5B6EEF #925BEF
triadic
#5B6EEF #EF5B6E #6EEF5B
tetradic
#5B6EEF #EF5BB8 #EFDC5B #5BEF92
square
#5B6EEF #EF5BB8 #EFDC5B #5BEF92
split-complementary
#5B6EEF #EF925B #B8EF5B
monochromatic
#1228BD #233DEA #5B6EEF #939FF4 #CBD1FA

Accessibility & contrast

On white

4.27
#5B6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5B6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EEF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EEF#FFFFFF#000000##000000
##5B6EEF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6eef;
/* rgb */ color: rgb(91, 110, 239);
/* oklch */ color: oklch(59.3% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#9797f5',
    500: '#5b6eef',
    950: '#000000',
  },
}
SCSS
$custom: #5b6eef;
$custom-light: #9797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6eef",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 232.297,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.19347,
    "h": 272.8
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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