#5A82EE#5A82EE

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

Color values

HEX#5A82EE
RGBrgb(90, 130, 238)
HSLhsl(224, 81%, 64%)
HSVhsv(224, 62%, 93%)
CMYKcmyk(62.2%, 45.4%, 0%, 6.7%)
CIE-LABlab(56.40, 19.15, -58.69)
CIE-LCHlch(56.40, 61.73, 288.07°)
OKLaboklab(63.09% -0.0106 -0.1677)
OKLCHoklch(63.09% 0.168 266.4)
XYZxyz(27.6264, 24.3095, 84.1087)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82EE #EEC65A
analogous
#5ACCEE #5A82EE #7C5AEE
triadic
#5A82EE #EE5A82 #82EE5A
tetradic
#5A82EE #EE5ACC #EEC65A #5AEE7C
square
#5A82EE #EE5ACC #EEC65A #5AEE7C
split-complementary
#5A82EE #EE7C5A #CCEE5A
monochromatic
#1340BA #2358E8 #5A82EE #91ACF4 #C9D6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A82EE#FFFFFF#000000##000000
##5A82EE1.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)
#4E8EF2
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a82ee;
/* rgb */ color: rgb(90, 130, 238);
/* oklch */ color: oklch(63.1% 0.168 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f4',
    500: '#5a82ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ee;
$custom-light: #95a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ee",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 223.784,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.16801,
    "h": 266.4
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#5A82EE
secondary
#ECDEB8
accent
#A408DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A82EE

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

Preview Lab → · Contrast checker → · Palette generator →

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