#5B7CF4#5B7CF4

#5B7CF4 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.183 H 269.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF4
RGBrgb(91, 124, 244)
HSLhsl(227, 87%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(62.7%, 49.2%, 0%, 4.3%)
CIE-LABlab(55.25, 24.99, -63.86)
CIE-LCHlch(55.25, 68.58, 291.37°)
OKLaboklab(62.34% -0.0032 -0.183)
OKLCHoklch(62.34% 0.183 269)
XYZxyz(27.8456, 23.1686, 88.5750)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF4 #F4D35B
analogous
#5BC8F4 #5B7CF4 #865BF4
triadic
#5B7CF4 #F45B7C #7CF45B
tetradic
#5B7CF4 #F45BC8 #F4D35B #5BF486
square
#5B7CF4 #F45BC8 #F4D35B #5BF486
split-complementary
#5B7CF4 #F4865B #C8F45B
monochromatic
#0D35C7 #224EF0 #5B7CF4 #94AAF8 #CED8FC

Accessibility & contrast

On white

3.73
#5B7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF4#FFFFFF#000000##000000
##5B7CF41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF8
Deuteranopia (green-blind)
#117EF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7cf4;
/* rgb */ color: rgb(91, 124, 244);
/* oklch */ color: oklch(62.3% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a1f8',
    500: '#5b7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf4;
$custom-light: #97a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf4",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 227.059,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62337,
    "c": 0.18299,
    "h": 269
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#5B7CF4
secondary
#EFE4BC
accent
#B302E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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