#5B6EF1#5B6EF1

#5B6EF1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.196 H 272.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5B6EF1
RGBrgb(91, 110, 241)
HSLhsl(232, 84%, 65%)
HSVhsv(232, 62%, 95%)
CMYKcmyk(62.2%, 54.4%, 0%, 5.5%)
CIE-LABlab(51.52, 32.53, -68.20)
CIE-LCHlch(51.52, 75.56, 295.50°)
OKLaboklab(59.47% 0.0094 -0.1959)
OKLCHoklch(59.47% 0.196 272.7)
XYZxyz(25.7622, 19.7247, 85.6517)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EF1 #F1DE5B
analogous
#5BB9F1 #5B6EF1 #935BF1
triadic
#5B6EF1 #F15B6E #6EF15B
tetradic
#5B6EF1 #F15BB9 #F1DE5B #5BF193
square
#5B6EF1 #F15BB9 #F1DE5B #5BF193
split-complementary
#5B6EF1 #F1935B #B9F15B
monochromatic
#1027C1 #233CEC #5B6EF1 #93A0F6 #CCD2FB

Accessibility & contrast

On white

4.25
#5B6EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5B6EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EF1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EF1#FFFFFF#000000##000000
##5B6EF11.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b6ef1;
/* rgb */ color: rgb(91, 110, 241);
/* oklch */ color: oklch(59.5% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#9797f6',
    500: '#5b6ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ef1;
$custom-light: #9797f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ef1",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 232.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.19611,
    "h": 272.7
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#5B6EF1
secondary
#EDE7BA
accent
#C505E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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