#5B82EA#5B82EA

#5B82EA is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.162 H 266.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B82EA
RGBrgb(91, 130, 234)
HSLhsl(224, 77%, 64%)
HSVhsv(224, 61%, 92%)
CMYKcmyk(61.1%, 44.4%, 0%, 8.2%)
CIE-LABlab(56.22, 17.99, -56.75)
CIE-LCHlch(56.22, 59.53, 287.59°)
OKLaboklab(62.89% -0.0103 -0.162)
OKLCHoklch(62.89% 0.162 266.4)
XYZxyz(27.1432, 24.1276, 81.0526)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82EA #EAC35B
analogous
#5BC9EA #5B82EA #7B5BEA
triadic
#5B82EA #EA5B82 #82EA5B
tetradic
#5B82EA #EA5BC9 #EAC35B #5BEA7B
square
#5B82EA #EA5BC9 #EAC35B #5BEA7B
split-complementary
#5B82EA #EA7B5B #C9EA5B
monochromatic
#1742B4 #2559E3 #5B82EA #91ABF1 #C8D5F8

Accessibility & contrast

On white

3.60
#5B82EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5B82EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82EA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82EA#FFFFFF#000000##000000
##5B82EA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b82ea;
/* rgb */ color: rgb(91, 130, 234);
/* oklch */ color: oklch(62.9% 0.162 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f1',
    500: '#5b82ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b82ea;
$custom-light: #95a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82ea",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 223.636,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.16229,
    "h": 266.4
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#5B82EA
secondary
#EADCB7
accent
#A10CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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