#5B7FF6#5B7FF6

#5B7FF6 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.182 H 268.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF6
RGBrgb(91, 127, 246)
HSLhsl(226, 90%, 66%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(63%, 48.4%, 0%, 3.5%)
CIE-LABlab(56.14, 23.83, -63.53)
CIE-LCHlch(56.14, 67.85, 290.56°)
OKLaboklab(63.06% -0.0058 -0.1819)
OKLCHoklch(63.06% 0.182 268.2)
XYZxyz(28.5326, 24.0542, 90.3102)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF6 #F6D25B
analogous
#5BCCF6 #5B7FF6 #845BF6
triadic
#5B7FF6 #F65B7F #7FF65B
tetradic
#5B7FF6 #F65BCC #F6D25B #5BF684
square
#5B7FF6 #F65BCC #F6D25B #5BF684
split-complementary
#5B7FF6 #F6845B #CCF65B
monochromatic
#0B38CB #2152F3 #5B7FF6 #95ACF9 #CFDAFC

Accessibility & contrast

On white

3.61
#5B7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5B7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF6#FFFFFF#000000##000000
##5B7FF61.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#1B80F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b7ff6;
/* rgb */ color: rgb(91, 127, 246);
/* oklch */ color: oklch(63.1% 0.182 268.2);
Tailwind
colors: {
  custom: {
    50: '#97a3fa',
    500: '#5b7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff6;
$custom-light: #97a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff6",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 226.065,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63058,
    "c": 0.18202,
    "h": 268.2
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#5B7FF6
secondary
#F0E4BD
accent
#B000E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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