#5B82DB#5B82DB

#5B82DB is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.142 H 264.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B82DB
RGBrgb(91, 130, 219)
HSLhsl(222, 64%, 61%)
HSVhsv(222, 58%, 86%)
CMYKcmyk(58.4%, 40.6%, 0%, 14.1%)
CIE-LABlab(55.38, 13.02, -49.69)
CIE-LCHlch(55.38, 51.37, 284.68°)
OKLaboklab(61.97% -0.013 -0.1412)
OKLCHoklch(61.97% 0.142 264.7)
XYZxyz(25.0788, 23.3018, 70.1802)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82DB #DBB45B
analogous
#5BC2DB #5B82DB #745BDB
triadic
#5B82DB #DB5B82 #82DB5B
tetradic
#5B82DB #DB5BC2 #DBB45B #5BDB74
square
#5B82DB #DB5BC2 #DBB45B #5BDB74
split-complementary
#5B82DB #DB745B #C2DB5B
monochromatic
#22469A #2D5DCC #5B82DB #8DA8E6 #BFCEF1

Accessibility & contrast

On white

3.71
#5B82DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B82DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82DB#FFFFFF#000000##000000
##5B82DB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDE
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b82db;
/* rgb */ color: rgb(91, 130, 219);
/* oklch */ color: oklch(62.0% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#93a5e6',
    500: '#5b82db',
    950: '#000000',
  },
}
SCSS
$custom: #5b82db;
$custom-light: #93a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82db",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 221.719,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.14184,
    "h": 264.7
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#5B82DB
secondary
#E1D2B1
accent
#961ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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