#5A82EC#5A82EC

#5A82EC is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.165 H 266.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5A82EC
RGBrgb(90, 130, 236)
HSLhsl(224, 79%, 64%)
HSVhsv(224, 62%, 93%)
CMYKcmyk(61.9%, 44.9%, 0%, 7.5%)
CIE-LABlab(56.28, 18.48, -57.76)
CIE-LCHlch(56.28, 60.65, 287.74°)
OKLaboklab(62.96% -0.0109 -0.165)
OKLCHoklch(62.96% 0.165 266.2)
XYZxyz(27.3342, 24.1926, 82.5698)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82EC #ECC45A
analogous
#5ACBEC #5A82EC #7B5AEC
triadic
#5A82EC #EC5A82 #82EC5A
tetradic
#5A82EC #EC5ACB #ECC45A #5AEC7B
square
#5A82EC #EC5ACB #ECC45A #5AEC7B
split-complementary
#5A82EC #EC7B5A #CBEC5A
monochromatic
#1541B7 #2358E6 #5A82EC #91ACF2 #C8D5F9

Accessibility & contrast

On white

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

On black

5.84
#5A82EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82EC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82EC#FFFFFF#000000##000000
##5A82EC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#3781EA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a82ec;
/* rgb */ color: rgb(90, 130, 236);
/* oklch */ color: oklch(63.0% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#95a5f3',
    500: '#5a82ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ec;
$custom-light: #95a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ec",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 223.562,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62958,
    "c": 0.16531,
    "h": 266.2
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#5A82EC
secondary
#EBDCB7
accent
#A20ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A82EC

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

Preview Lab → · Contrast checker → · Palette generator →

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