#5B82E1#5B82E1

#5B82E1 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.3% C 0.150 H 265.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5B82E1
RGBrgb(91, 130, 225)
HSLhsl(223, 69%, 62%)
HSVhsv(223, 60%, 88%)
CMYKcmyk(59.6%, 42.2%, 0%, 11.8%)
CIE-LABlab(55.71, 15.00, -52.53)
CIE-LCHlch(55.71, 54.63, 285.93°)
OKLaboklab(62.33% -0.0118 -0.1496)
OKLCHoklch(62.33% 0.15 265.5)
XYZxyz(25.8830, 23.6235, 74.4154)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82E1 #E1BA5B
analogous
#5BC5E1 #5B82E1 #775BE1
triadic
#5B82E1 #E15B82 #82E15B
tetradic
#5B82E1 #E15BC5 #E1BA5B #5BE177
square
#5B82E1 #E15BC5 #E1BA5B #5BE177
split-complementary
#5B82E1 #E1775B #C5E15B
monochromatic
#1E45A4 #275BD7 #5B82E1 #8FA9EA #C2D1F4

Accessibility & contrast

On white

3.67
#5B82E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5B82E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82E1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82E1#FFFFFF#000000##000000
##5B82E11.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#588CE5
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b82e1;
/* rgb */ color: rgb(91, 130, 225);
/* oklch */ color: oklch(62.3% 0.150 265.5);
Tailwind
colors: {
  custom: {
    50: '#94a5eb',
    500: '#5b82e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b82e1;
$custom-light: #94a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82e1",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 222.537,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.15005,
    "h": 265.5
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

primary
#5B82E1
secondary
#E5D6B3
accent
#9A14D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B82E1

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

Preview Lab → · Contrast checker → · Palette generator →

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