#5B7DE2#5B7DE2

#5B7DE2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.4% C 0.157 H 267.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5B7DE2
RGBrgb(91, 125, 226)
HSLhsl(225, 70%, 62%)
HSVhsv(225, 60%, 89%)
CMYKcmyk(59.7%, 44.7%, 0%, 11.4%)
CIE-LABlab(54.43, 18.37, -55.14)
CIE-LCHlch(54.43, 58.12, 288.42°)
OKLaboklab(61.37% -0.0065 -0.1573)
OKLCHoklch(61.37% 0.157 267.6)
XYZxyz(25.3708, 22.3802, 74.9196)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DE2 #E2C05B
analogous
#5BC0E2 #5B7DE2 #7D5BE2
triadic
#5B7DE2 #E25B7D #7DE25B
tetradic
#5B7DE2 #E25BC0 #E2C05B #5BE27D
square
#5B7DE2 #E25BC0 #E2C05B #5BE27D
split-complementary
#5B7DE2 #E27D5B #C0E25B
monochromatic
#1D40A5 #2754D9 #5B7DE2 #8FA6EB #C3CFF4

Accessibility & contrast

On white

3.83
#5B7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5B7DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DE2#FFFFFF#000000##000000
##5B7DE21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7de2;
/* rgb */ color: rgb(91, 125, 226);
/* oklch */ color: oklch(61.4% 0.157 267.6);
Tailwind
colors: {
  custom: {
    50: '#94a2ec',
    500: '#5b7de2',
    950: '#000000',
  },
}
SCSS
$custom: #5b7de2;
$custom-light: #94a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7de2",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 224.889,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.15743,
    "h": 267.6
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#5B7DE2
secondary
#E5D9B4
accent
#A214D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5B7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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