#5A82EA#5A82EA

#5A82EA is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.8% C 0.163 H 266.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A82EA
RGBrgb(90, 130, 234)
HSLhsl(223, 77%, 64%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(61.5%, 44.4%, 0%, 8.2%)
CIE-LABlab(56.16, 17.81, -56.83)
CIE-LCHlch(56.16, 59.56, 287.40°)
OKLaboklab(62.83% -0.0112 -0.1622)
OKLCHoklch(62.83% 0.163 266)
XYZxyz(27.0453, 24.0771, 81.0480)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82EA #EAC25A
analogous
#5ACAEA #5A82EA #7A5AEA
triadic
#5A82EA #EA5A82 #82EA5A
tetradic
#5A82EA #EA5ACA #EAC25A #5AEA7A
square
#5A82EA #EA5ACA #EAC25A #5AEA7A
split-complementary
#5A82EA #EA7A5A #CAEA5A
monochromatic
#1742B3 #2459E3 #5A82EA #90ABF1 #C7D4F8

Accessibility & contrast

On white

3.61
#5A82EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5A82EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82EA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82EA#FFFFFF#000000##000000
##5A82EA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a82ea;
/* rgb */ color: rgb(90, 130, 234);
/* oklch */ color: oklch(62.8% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#95a5f1',
    500: '#5a82ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ea;
$custom-light: #95a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ea",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 223.333,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62832,
    "c": 0.16262,
    "h": 266
  },
  "luminance": 0.24079
}

Semantic roles & 50–950 ramp

primary
#5A82EA
secondary
#E9DBB6
accent
#A00CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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