#5B82CB#5B82CB

#5B82CB is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.1% C 0.120 H 262.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5B82CB
RGBrgb(91, 130, 203)
HSLhsl(219, 52%, 58%)
HSVhsv(219, 55%, 80%)
CMYKcmyk(55.2%, 36%, 0%, 20.4%)
CIE-LABlab(54.55, 7.80, -41.97)
CIE-LCHlch(54.55, 42.69, 280.53°)
OKLaboklab(61.06% -0.0165 -0.1187)
OKLCHoklch(61.06% 0.12 262.1)
XYZxyz(23.0728, 22.4994, 59.6153)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82CB #CBA45B
analogous
#5BBACB #5B82CB #6C5BCB
triadic
#5B82CB #CB5B82 #82CB5B
tetradic
#5B82CB #CB5BBA #CBA45B #5BCB6C
square
#5B82CB #CB5BBA #CBA45B #5BCB6C
split-complementary
#5B82CB #CB6C5B #BACB5B
monochromatic
#294882 #3862B1 #5B82CB #89A5DA #B8C9E8

Accessibility & contrast

On white

3.82
#5B82CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5B82CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82CB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82CB#FFFFFF#000000##000000
##5B82CB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#15929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b82cb;
/* rgb */ color: rgb(91, 130, 203);
/* oklch */ color: oklch(61.1% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#91a6db',
    500: '#5b82cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b82cb;
$custom-light: #91a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82cb",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 219.107,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.11982,
    "h": 262.1
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#5B82CB
secondary
#D7C8AA
accent
#AA4CDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B82CB

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

Preview Lab → · Contrast checker → · Palette generator →

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