#5B6FF2#5B6FF2

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

Color values

HEX#5B6FF2
RGBrgb(91, 111, 242)
HSLhsl(232, 85%, 65%)
HSVhsv(232, 62%, 95%)
CMYKcmyk(62.4%, 54.1%, 0%, 5.1%)
CIE-LABlab(51.84, 32.25, -68.25)
CIE-LCHlch(51.84, 75.49, 295.29°)
OKLaboklab(59.73% 0.0085 -0.196)
OKLCHoklch(59.73% 0.196 272.5)
XYZxyz(26.0205, 20.0016, 86.4766)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FF2 #F2DE5B
analogous
#5BBAF2 #5B6FF2 #925BF2
triadic
#5B6FF2 #F25B6F #6FF25B
tetradic
#5B6FF2 #F25BBA #F2DE5B #5BF292
square
#5B6FF2 #F25BBA #F2DE5B #5BF292
split-complementary
#5B6FF2 #F2925B #BAF25B
monochromatic
#0F27C3 #223DEE #5B6FF2 #94A1F6 #CCD3FB

Accessibility & contrast

On white

4.20
#5B6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5B6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FF2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FF2#FFFFFF#000000##000000
##5B6FF21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0482F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b6ff2;
/* rgb */ color: rgb(91, 111, 242);
/* oklch */ color: oklch(59.7% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#9798f7',
    500: '#5b6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ff2;
$custom-light: #9798f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ff2",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 232.053,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.19621,
    "h": 272.5
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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