#5B7BDB#5B7BDB

#5B7BDB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.5% C 0.150 H 267.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5B7BDB
RGBrgb(91, 123, 219)
HSLhsl(225, 64%, 61%)
HSVhsv(225, 58%, 86%)
CMYKcmyk(58.4%, 43.8%, 0%, 14.1%)
CIE-LABlab(53.50, 17.27, -52.70)
CIE-LCHlch(53.50, 55.45, 288.14°)
OKLaboklab(60.52% -0.0056 -0.1501)
OKLCHoklch(60.52% 0.15 267.9)
XYZxyz(24.1792, 21.5026, 69.8803)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BDB #DBBB5B
analogous
#5BBBDB #5B7BDB #7B5BDB
triadic
#5B7BDB #DB5B7B #7BDB5B
tetradic
#5B7BDB #DB5BBB #DBBB5B #5BDB7B
square
#5B7BDB #DB5BBB #DBBB5B #5BDB7B
split-complementary
#5B7BDB #DB7B5B #BBDB5B
monochromatic
#22409A #2D55CC #5B7BDB #8DA3E6 #BFCCF1

Accessibility & contrast

On white

3.96
#5B7BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5B7BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BDB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BDB#FFFFFF#000000##000000
##5B7BDB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b7bdb;
/* rgb */ color: rgb(91, 123, 219);
/* oklch */ color: oklch(60.5% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#93a0e7',
    500: '#5b7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bdb;
$custom-light: #93a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bdb",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 225,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.15024,
    "h": 267.9
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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