#5B7CDB#5B7CDB

#5B7CDB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.149 H 267.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5B7CDB
RGBrgb(91, 124, 219)
HSLhsl(225, 64%, 61%)
HSVhsv(225, 58%, 86%)
CMYKcmyk(58.4%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.76, 16.66, -52.27)
CIE-LCHlch(53.76, 54.86, 287.67°)
OKLaboklab(60.73% -0.0066 -0.1489)
OKLCHoklch(60.73% 0.149 267.4)
XYZxyz(24.3039, 21.7520, 69.9219)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CDB #DBBA5B
analogous
#5BBCDB #5B7CDB #7A5BDB
triadic
#5B7CDB #DB5B7C #7CDB5B
tetradic
#5B7CDB #DB5BBC #DBBA5B #5BDB7A
square
#5B7CDB #DB5BBC #DBBA5B #5BDB7A
split-complementary
#5B7CDB #DB7A5B #BCDB5B
monochromatic
#22419A #2D56CC #5B7CDB #8DA4E6 #BFCCF1

Accessibility & contrast

On white

3.92
#5B7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5B7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CDB#FFFFFF#000000##000000
##5B7CDB1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b7cdb;
/* rgb */ color: rgb(91, 124, 219);
/* oklch */ color: oklch(60.7% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#93a1e7',
    500: '#5b7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cdb;
$custom-light: #93a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cdb",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 224.531,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.14902,
    "h": 267.4
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

primary
#5B7CDB
secondary
#E1D5B1
accent
#9E1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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