#5B82DC#5B82DC

#5B82DC is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.143 H 264.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5B82DC
RGBrgb(91, 130, 220)
HSLhsl(222, 65%, 61%)
HSVhsv(222, 59%, 86%)
CMYKcmyk(58.6%, 40.9%, 0%, 13.7%)
CIE-LABlab(55.44, 13.34, -50.17)
CIE-LCHlch(55.44, 51.91, 284.90°)
OKLaboklab(62.03% -0.0128 -0.1426)
OKLCHoklch(62.03% 0.143 264.9)
XYZxyz(25.2109, 23.3546, 70.8756)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82DC #DCB55B
analogous
#5BC3DC #5B82DC #745BDC
triadic
#5B82DC #DC5B82 #82DC5B
tetradic
#5B82DC #DC5BC3 #DCB55B #5BDC74
square
#5B82DC #DC5BC3 #DCB55B #5BDC74
split-complementary
#5B82DC #DC745B #C3DC5B
monochromatic
#21469B #2C5DCE #5B82DC #8DA8E7 #C0CFF2

Accessibility & contrast

On white

3.70
#5B82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5B82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82DC#FFFFFF#000000##000000
##5B82DC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b82dc;
/* rgb */ color: rgb(91, 130, 220);
/* oklch */ color: oklch(62.0% 0.143 264.9);
Tailwind
colors: {
  custom: {
    50: '#93a5e7',
    500: '#5b82dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b82dc;
$custom-light: #93a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82dc",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 221.86,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.14321,
    "h": 264.9
  },
  "luminance": 0.23357
}

Semantic roles & 50–950 ramp

primary
#5B82DC
secondary
#E2D3B1
accent
#9619CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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