#5B7DCD#5B7DCD

#5B7DCD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.128 H 265.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B7DCD
RGBrgb(91, 125, 205)
HSLhsl(222, 53%, 58%)
HSVhsv(222, 56%, 80%)
CMYKcmyk(55.6%, 39%, 0%, 19.6%)
CIE-LABlab(53.27, 11.46, -45.13)
CIE-LCHlch(53.27, 46.56, 284.25°)
OKLaboklab(60.11% -0.0104 -0.1279)
OKLCHoklch(60.11% 0.128 265.4)
XYZxyz(22.6637, 21.2974, 60.6623)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DCD #CDAB5B
analogous
#5BB6CD #5B7DCD #725BCD
triadic
#5B7DCD #CD5B7D #7DCD5B
tetradic
#5B7DCD #CD5BB6 #CDAB5B #5BCD72
square
#5B7DCD #CD5BB6 #CDAB5B #5BCD72
split-complementary
#5B7DCD #CD725B #B6CD5B
monochromatic
#294485 #375CB4 #5B7DCD #8AA2DB #B9C7EA

Accessibility & contrast

On white

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

On black

5.26
#5B7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DCD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DCD#FFFFFF#000000##000000
##5B7DCD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#138F9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b7dcd;
/* rgb */ color: rgb(91, 125, 205);
/* oklch */ color: oklch(60.1% 0.128 265.4);
Tailwind
colors: {
  custom: {
    50: '#91a2dc',
    500: '#5b7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5b7dcd;
$custom-light: #91a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7dcd",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 222.105,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.12837,
    "h": 265.4
  },
  "luminance": 0.21299
}

Semantic roles & 50–950 ramp

primary
#5B7DCD
secondary
#D9CBAB
accent
#B14BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5B7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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