#5B7DCE#5B7DCE

#5B7DCE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.130 H 265.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B7DCE
RGBrgb(91, 125, 206)
HSLhsl(222, 54%, 58%)
HSVhsv(222, 56%, 81%)
CMYKcmyk(55.8%, 39.3%, 0%, 19.2%)
CIE-LABlab(53.33, 11.78, -45.62)
CIE-LCHlch(53.33, 47.11, 284.48°)
OKLaboklab(60.16% -0.0102 -0.1294)
OKLCHoklch(60.16% 0.13 265.5)
XYZxyz(22.7848, 21.3458, 61.3000)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DCE #CEAC5B
analogous
#5BB6CE #5B7DCE #725BCE
triadic
#5B7DCE #CE5B7D #7DCE5B
tetradic
#5B7DCE #CE5BB6 #CEAC5B #5BCE72
square
#5B7DCE #CE5BB6 #CEAC5B #5BCE72
split-complementary
#5B7DCE #CE725B #B6CE5B
monochromatic
#284486 #365CB6 #5B7DCE #8AA2DC #B9C8EA

Accessibility & contrast

On white

3.99
#5B7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5B7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DCE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DCE#FFFFFF#000000##000000
##5B7DCE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#4D7BCC
Tritanopia (blue-blind)
#108F9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b7dce;
/* rgb */ color: rgb(91, 125, 206);
/* oklch */ color: oklch(60.2% 0.130 265.5);
Tailwind
colors: {
  custom: {
    50: '#91a2dd',
    500: '#5b7dce',
    950: '#000000',
  },
}
SCSS
$custom: #5b7dce;
$custom-light: #91a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7dce",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 222.261,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.12977,
    "h": 265.5
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#5B7DCE
secondary
#D9CCAB
accent
#B24ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5B7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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