#5B7ADD#5B7ADD

#5B7ADD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.154 H 268.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B7ADD
RGBrgb(91, 122, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 59%, 87%)
CMYKcmyk(58.8%, 44.8%, 0%, 13.3%)
CIE-LABlab(53.34, 18.54, -54.07)
CIE-LCHlch(53.34, 57.16, 288.93°)
OKLaboklab(60.44% -0.0042 -0.1542)
OKLCHoklch(60.44% 0.154 268.4)
XYZxyz(24.3207, 21.3617, 71.2342)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ADD #DDBE5B
analogous
#5BBBDD #5B7ADD #7D5BDD
triadic
#5B7ADD #DD5B7A #7ADD5B
tetradic
#5B7ADD #DD5BBB #DDBE5B #5BDD7D
square
#5B7ADD #DD5BBB #DDBE5B #5BDD7D
split-complementary
#5B7ADD #DD7D5B #BBDD5B
monochromatic
#213E9D #2B52D0 #5B7ADD #8EA3E8 #C0CCF2

Accessibility & contrast

On white

3.98
#5B7ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7ADD#FFFFFF#000000##000000
##5B7ADD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b7add;
/* rgb */ color: rgb(91, 122, 221);
/* oklch */ color: oklch(60.4% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#94a0e8',
    500: '#5b7add',
    950: '#000000',
  },
}
SCSS
$custom: #5b7add;
$custom-light: #94a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7add",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 225.692,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60444,
    "c": 0.15423,
    "h": 268.4
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#5B7ADD
secondary
#E2D7B1
accent
#A218CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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