#5B82EF#5B82EF

#5B82EF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.169 H 266.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5B82EF
RGBrgb(91, 130, 239)
HSLhsl(224, 82%, 65%)
HSVhsv(224, 62%, 94%)
CMYKcmyk(61.9%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.50, 19.66, -59.07)
CIE-LCHlch(56.50, 62.25, 288.41°)
OKLaboklab(63.2% -0.0095 -0.1688)
OKLCHoklch(63.2% 0.169 266.8)
XYZxyz(27.8717, 24.4189, 84.8891)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82EF #EFC85B
analogous
#5BCCEF #5B82EF #7E5BEF
triadic
#5B82EF #EF5B82 #82EF5B
tetradic
#5B82EF #EF5BCC #EFC85B #5BEF7E
square
#5B82EF #EF5BCC #EFC85B #5BEF7E
split-complementary
#5B82EF #EF7E5B #CCEF5B
monochromatic
#123FBD #2358EA #5B82EF #93ADF4 #CBD7FA

Accessibility & contrast

On white

3.57
#5B82EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5B82EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82EF#FFFFFF#000000##000000
##5B82EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3481ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b82ef;
/* rgb */ color: rgb(91, 130, 239);
/* oklch */ color: oklch(63.2% 0.169 266.8);
Tailwind
colors: {
  custom: {
    50: '#96a5f5',
    500: '#5b82ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b82ef;
$custom-light: #96a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82ef",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 224.189,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.632,
    "c": 0.16904,
    "h": 266.8
  },
  "luminance": 0.24421
}

Semantic roles & 50–950 ramp

primary
#5B82EF
secondary
#ECDFBA
accent
#A607DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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