#5B7CF6#5B7CF6

#5B7CF6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.186 H 269.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF6
RGBrgb(91, 124, 246)
HSLhsl(227, 90%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(63%, 49.6%, 0%, 3.5%)
CIE-LABlab(55.37, 25.66, -64.77)
CIE-LCHlch(55.37, 69.67, 291.61°)
OKLaboklab(62.47% -0.003 -0.1856)
OKLCHoklch(62.47% 0.186 269.1)
XYZxyz(28.1509, 23.2908, 90.1830)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF6 #F6D55B
analogous
#5BC9F6 #5B7CF6 #875BF6
triadic
#5B7CF6 #F65B7C #7CF65B
tetradic
#5B7CF6 #F65BC9 #F6D55B #5BF687
square
#5B7CF6 #F65BC9 #F6D55B #5BF687
split-complementary
#5B7CF6 #F6875B #C9F65B
monochromatic
#0B34CB #214EF3 #5B7CF6 #95AAF9 #CFD9FC

Accessibility & contrast

On white

3.71
#5B7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF6#FFFFFF#000000##000000
##5B7CF61.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#067EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7cf6;
/* rgb */ color: rgb(91, 124, 246);
/* oklch */ color: oklch(62.5% 0.186 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a1fa',
    500: '#5b7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf6;
$custom-light: #97a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf6",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 227.226,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.18565,
    "h": 269.1
  },
  "luminance": 0.23293
}

Semantic roles & 50–950 ramp

primary
#5B7CF6
secondary
#F0E5BD
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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