#5B7DF5#5B7DF5

#5B7DF5 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.183 H 268.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B7DF5
RGBrgb(91, 125, 245)
HSLhsl(227, 89%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(62.9%, 49%, 0%, 3.9%)
CIE-LABlab(55.56, 24.71, -63.90)
CIE-LCHlch(55.56, 68.52, 291.14°)
OKLaboklab(62.6% -0.004 -0.1831)
OKLCHoklch(62.6% 0.183 268.7)
XYZxyz(28.1238, 23.4814, 89.4188)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF5 #F5D35B
analogous
#5BCAF5 #5B7DF5 #865BF5
triadic
#5B7DF5 #F55B7D #7DF55B
tetradic
#5B7DF5 #F55BCA #F5D35B #5BF586
square
#5B7DF5 #F55BCA #F5D35B #5BF586
split-complementary
#5B7DF5 #F5865B #CAF55B
monochromatic
#0C36C9 #214FF1 #5B7DF5 #95ABF9 #CED8FC

Accessibility & contrast

On white

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

On black

5.70
#5B7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DF5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DF5#FFFFFF#000000##000000
##5B7DF51.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF9
Deuteranopia (green-blind)
#147FF3
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7df5;
/* rgb */ color: rgb(91, 125, 245);
/* oklch */ color: oklch(62.6% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a2f9',
    500: '#5b7df5',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df5;
$custom-light: #97a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df5",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 226.753,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.626,
    "c": 0.1831,
    "h": 268.7
  },
  "luminance": 0.23484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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