#5B6EF2#5B6EF2

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

Color values

HEX#5B6EF2
RGBrgb(91, 110, 242)
HSLhsl(232, 85%, 65%)
HSVhsv(232, 62%, 95%)
CMYKcmyk(62.4%, 54.5%, 0%, 5.1%)
CIE-LABlab(51.59, 32.86, -68.65)
CIE-LCHlch(51.59, 76.11, 295.58°)
OKLaboklab(59.54% 0.0094 -0.1972)
OKLCHoklch(59.54% 0.197 272.7)
XYZxyz(25.9120, 19.7846, 86.4405)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EF2 #F2DF5B
analogous
#5BBAF2 #5B6EF2 #935BF2
triadic
#5B6EF2 #F25B6E #6EF25B
tetradic
#5B6EF2 #F25BBA #F2DF5B #5BF293
square
#5B6EF2 #F25BBA #F2DF5B #5BF293
split-complementary
#5B6EF2 #F2935B #BAF25B
monochromatic
#0F26C3 #223CEE #5B6EF2 #94A0F6 #CCD2FB

Accessibility & contrast

On white

4.24
#5B6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EF2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EF2#FFFFFF#000000##000000
##5B6EF21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6ef2;
/* rgb */ color: rgb(91, 110, 242);
/* oklch */ color: oklch(59.5% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#9797f7',
    500: '#5b6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ef2;
$custom-light: #9797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ef2",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 232.45,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.19743,
    "h": 272.7
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#5B6EF2
secondary
#EEE7BB
accent
#C604E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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