#5B7CDC#5B7CDC

#5B7CDC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.150 H 267.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5B7CDC
RGBrgb(91, 124, 220)
HSLhsl(225, 65%, 61%)
HSVhsv(225, 59%, 86%)
CMYKcmyk(58.6%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.82, 16.99, -52.74)
CIE-LCHlch(53.82, 55.41, 287.85°)
OKLaboklab(60.79% -0.0065 -0.1503)
OKLCHoklch(60.79% 0.15 267.5)
XYZxyz(24.4359, 21.8048, 70.6173)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CDC #DCBB5B
analogous
#5BBCDC #5B7CDC #7A5BDC
triadic
#5B7CDC #DC5B7C #7CDC5B
tetradic
#5B7CDC #DC5BBC #DCBB5B #5BDC7A
square
#5B7CDC #DC5BBC #DCBB5B #5BDC7A
split-complementary
#5B7CDC #DC7A5B #BCDC5B
monochromatic
#21409B #2C55CE #5B7CDC #8DA4E7 #C0CDF2

Accessibility & contrast

On white

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

On black

5.36
#5B7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CDC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CDC#FFFFFF#000000##000000
##5B7CDC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b7cdc;
/* rgb */ color: rgb(91, 124, 220);
/* oklch */ color: oklch(60.8% 0.150 267.5);
Tailwind
colors: {
  custom: {
    50: '#93a1e7',
    500: '#5b7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cdc;
$custom-light: #93a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cdc",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 224.651,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.1504,
    "h": 267.5
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#5B7CDC
secondary
#E2D5B1
accent
#9F19CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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