#5B82EB#5B82EB

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

Color values

HEX#5B82EB
RGBrgb(91, 130, 235)
HSLhsl(224, 78%, 64%)
HSVhsv(224, 61%, 92%)
CMYKcmyk(61.3%, 44.7%, 0%, 7.8%)
CIE-LABlab(56.27, 18.33, -57.21)
CIE-LCHlch(56.27, 60.08, 287.76°)
OKLaboklab(62.95% -0.0101 -0.1633)
OKLCHoklch(62.95% 0.164 266.4)
XYZxyz(27.2873, 24.1852, 81.8114)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82EB #EBC45B
analogous
#5BCAEB #5B82EB #7C5BEB
triadic
#5B82EB #EB5B82 #82EB5B
tetradic
#5B82EB #EB5BCA #EBC45B #5BEB7C
square
#5B82EB #EB5BCA #EBC45B #5BEB7C
split-complementary
#5B82EB #EB7C5B #CAEB5B
monochromatic
#1641B5 #2458E4 #5B82EB #92ACF2 #C8D5F8

Accessibility & contrast

On white

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

On black

5.84
#5B82EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82EB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82EB#FFFFFF#000000##000000
##5B82EB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b82eb;
/* rgb */ color: rgb(91, 130, 235);
/* oklch */ color: oklch(62.9% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f2',
    500: '#5b82eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b82eb;
$custom-light: #95a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82eb",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 223.75,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62947,
    "c": 0.16365,
    "h": 266.4
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#5B82EB
secondary
#EADCB8
accent
#A20BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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