#5A82ED#5A82ED

#5A82ED is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.0% C 0.167 H 266.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A82ED
RGBrgb(90, 130, 237)
HSLhsl(224, 80%, 64%)
HSVhsv(224, 62%, 93%)
CMYKcmyk(62%, 45.1%, 0%, 7.1%)
CIE-LABlab(56.34, 18.82, -58.23)
CIE-LCHlch(56.34, 61.19, 287.91°)
OKLaboklab(63.02% -0.0107 -0.1663)
OKLCHoklch(63.02% 0.167 266.3)
XYZxyz(27.4799, 24.2509, 83.3371)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82ED #EDC55A
analogous
#5ACCED #5A82ED #7C5AED
triadic
#5A82ED #ED5A82 #82ED5A
tetradic
#5A82ED #ED5ACC #EDC55A #5AED7C
square
#5A82ED #ED5ACC #EDC55A #5AED7C
split-complementary
#5A82ED #ED7C5A #CCED5A
monochromatic
#1441B8 #2358E7 #5A82ED #91ACF3 #C8D6F9

Accessibility & contrast

On white

3.59
#5A82ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5A82ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82ED
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82ED#FFFFFF#000000##000000
##5A82ED1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF1
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a82ed;
/* rgb */ color: rgb(90, 130, 237);
/* oklch */ color: oklch(63.0% 0.167 266.3);
Tailwind
colors: {
  custom: {
    50: '#95a5f3',
    500: '#5a82ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ed;
$custom-light: #95a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ed",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 223.673,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63021,
    "c": 0.16667,
    "h": 266.3
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#5A82ED
secondary
#EBDDB8
accent
#A309DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A82ED

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

Preview Lab → · Contrast checker → · Palette generator →

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