#5B7CD8#5B7CD8

#5B7CD8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.145 H 267.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5B7CD8
RGBrgb(91, 124, 216)
HSLhsl(224, 62%, 60%)
HSVhsv(224, 58%, 85%)
CMYKcmyk(57.9%, 42.6%, 0%, 15.3%)
CIE-LABlab(53.60, 15.67, -50.85)
CIE-LCHlch(53.60, 53.20, 287.12°)
OKLaboklab(60.55% -0.0071 -0.1447)
OKLCHoklch(60.55% 0.145 267.2)
XYZxyz(23.9125, 21.5954, 67.8606)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CD8 #D8B75B
analogous
#5BBAD8 #5B7CD8 #785BD8
triadic
#5B7CD8 #D85B7C #7CD85B
tetradic
#5B7CD8 #D85BBA #D8B75B #5BD878
square
#5B7CD8 #D85BBA #D8B75B #5BD878
split-complementary
#5B7CD8 #D8785B #BAD85B
monochromatic
#234195 #2F57C7 #5B7CD8 #8CA3E4 #BECBF0

Accessibility & contrast

On white

3.95
#5B7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5B7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CD8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CD8#FFFFFF#000000##000000
##5B7CD81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#437BD6
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b7cd8;
/* rgb */ color: rgb(91, 124, 216);
/* oklch */ color: oklch(60.5% 0.145 267.2);
Tailwind
colors: {
  custom: {
    50: '#93a1e4',
    500: '#5b7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cd8;
$custom-light: #93a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cd8",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 224.16,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60545,
    "c": 0.14488,
    "h": 267.2
  },
  "luminance": 0.21597
}

Semantic roles & 50–950 ramp

primary
#5B7CD8
secondary
#DFD3AF
accent
#9C1CC9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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