#5B7DF4#5B7DF4

#5B7DF4 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.182 H 268.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5B7DF4
RGBrgb(91, 125, 244)
HSLhsl(227, 87%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(62.7%, 48.8%, 0%, 4.3%)
CIE-LABlab(55.50, 24.38, -63.45)
CIE-LCHlch(55.50, 67.97, 291.02°)
OKLaboklab(62.53% -0.0041 -0.1817)
OKLCHoklch(62.53% 0.182 268.7)
XYZxyz(27.9716, 23.4206, 88.6170)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF4 #F4D25B
analogous
#5BC9F4 #5B7DF4 #855BF4
triadic
#5B7DF4 #F45B7D #7DF45B
tetradic
#5B7DF4 #F45BC9 #F4D25B #5BF485
square
#5B7DF4 #F45BC9 #F4D25B #5BF485
split-complementary
#5B7DF4 #F4855B #C9F45B
monochromatic
#0D37C7 #2250F0 #5B7DF4 #94AAF8 #CED8FC

Accessibility & contrast

On white

3.69
#5B7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5B7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DF4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DF4#FFFFFF#000000##000000
##5B7DF41.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#177EF2
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7df4;
/* rgb */ color: rgb(91, 125, 244);
/* oklch */ color: oklch(62.5% 0.182 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a2f8',
    500: '#5b7df4',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df4;
$custom-light: #97a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df4",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 226.667,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.18178,
    "h": 268.7
  },
  "luminance": 0.23423
}

Semantic roles & 50–950 ramp

primary
#5B7DF4
secondary
#EFE4BC
accent
#B202E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5B7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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