#5A82EB#5A82EB

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

Color values

HEX#5A82EB
RGBrgb(90, 130, 235)
HSLhsl(223, 78%, 64%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(61.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(56.22, 18.15, -57.30)
CIE-LCHlch(56.22, 60.10, 287.57°)
OKLaboklab(62.9% -0.0111 -0.1636)
OKLCHoklch(62.9% 0.164 266.1)
XYZxyz(27.1893, 24.1347, 81.8068)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82EB #EBC35A
analogous
#5ACAEB #5A82EB #7A5AEB
triadic
#5A82EB #EB5A82 #82EB5A
tetradic
#5A82EB #EB5ACA #EBC35A #5AEB7A
square
#5A82EB #EB5ACA #EBC35A #5AEB7A
split-complementary
#5A82EB #EB7A5A #CAEB5A
monochromatic
#1642B5 #2359E4 #5A82EB #91ABF2 #C7D5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A82EB#FFFFFF#000000##000000
##5A82EB1.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)
#508EEF
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a82eb;
/* rgb */ color: rgb(90, 130, 235);
/* oklch */ color: oklch(62.9% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#95a5f2',
    500: '#5a82eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a82eb;
$custom-light: #95a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82eb",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 223.448,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62895,
    "c": 0.16396,
    "h": 266.1
  },
  "luminance": 0.24137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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