#5A82EF#5A82EF

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

Color values

HEX#5A82EF
RGBrgb(90, 130, 239)
HSLhsl(224, 82%, 65%)
HSVhsv(224, 62%, 94%)
CMYKcmyk(62.3%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.45, 19.49, -59.15)
CIE-LCHlch(56.45, 62.28, 288.24°)
OKLaboklab(63.15% -0.0105 -0.169)
OKLCHoklch(63.15% 0.169 266.5)
XYZxyz(27.7737, 24.3684, 84.8846)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82EF #EFC75A
analogous
#5ACCEF #5A82EF #7D5AEF
triadic
#5A82EF #EF5A82 #82EF5A
tetradic
#5A82EF #EF5ACC #EFC75A #5AEF7D
square
#5A82EF #EF5ACC #EFC75A #5AEF7D
split-complementary
#5A82EF #EF7D5A #CCEF5A
monochromatic
#1240BC #2258EA #5A82EF #92ACF4 #CAD7FA

Accessibility & contrast

On white

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

On black

5.87
#5A82EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82EF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82EF#FFFFFF#000000##000000
##5A82EF1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a82ef;
/* rgb */ color: rgb(90, 130, 239);
/* oklch */ color: oklch(63.1% 0.169 266.5);
Tailwind
colors: {
  custom: {
    50: '#96a5f5',
    500: '#5a82ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ef;
$custom-light: #96a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ef",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 223.893,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.16935,
    "h": 266.5
  },
  "luminance": 0.24371
}

Semantic roles & 50–950 ramp

primary
#5A82EF
secondary
#ECDEB9
accent
#A507DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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