#5B82ED#5B82ED

#5B82ED is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.166 H 266.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5B82ED
RGBrgb(91, 130, 237)
HSLhsl(224, 80%, 64%)
HSVhsv(224, 62%, 93%)
CMYKcmyk(61.6%, 45.1%, 0%, 7.1%)
CIE-LABlab(56.39, 18.99, -58.14)
CIE-LCHlch(56.39, 61.17, 288.09°)
OKLaboklab(63.07% -0.0098 -0.166)
OKLCHoklch(63.07% 0.166 266.6)
XYZxyz(27.5778, 24.3014, 83.3417)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82ED #EDC65B
analogous
#5BCBED #5B82ED #7D5BED
triadic
#5B82ED #ED5B82 #82ED5B
tetradic
#5B82ED #ED5BCB #EDC65B #5BED7D
square
#5B82ED #ED5BCB #EDC65B #5BED7D
split-complementary
#5B82ED #ED7D5B #CBED5B
monochromatic
#1440B9 #2458E7 #5B82ED #92ACF3 #C9D6F9

Accessibility & contrast

On white

3.58
#5B82ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5B82ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82ED
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82ED#FFFFFF#000000##000000
##5B82ED1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b82ed;
/* rgb */ color: rgb(91, 130, 237);
/* oklch */ color: oklch(63.1% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#96a5f3',
    500: '#5b82ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b82ed;
$custom-light: #96a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82ed",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 223.973,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.16634,
    "h": 266.6
  },
  "luminance": 0.24304
}

Semantic roles & 50–950 ramp

primary
#5B82ED
secondary
#EBDEB9
accent
#A409DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B82ED

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

Preview Lab → · Contrast checker → · Palette generator →

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