#5A82DC#5A82DC

#5A82DC is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.144 H 264.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5A82DC
RGBrgb(90, 130, 220)
HSLhsl(222, 65%, 61%)
HSVhsv(222, 59%, 86%)
CMYKcmyk(59.1%, 40.9%, 0%, 13.7%)
CIE-LABlab(55.38, 13.15, -50.25)
CIE-LCHlch(55.38, 51.94, 284.67°)
OKLaboklab(61.98% -0.0137 -0.1429)
OKLCHoklch(61.98% 0.144 264.5)
XYZxyz(25.1129, 23.3041, 70.8710)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82DC #DCB45A
analogous
#5AC3DC #5A82DC #735ADC
triadic
#5A82DC #DC5A82 #82DC5A
tetradic
#5A82DC #DC5AC3 #DCB45A #5ADC73
square
#5A82DC #DC5AC3 #DCB45A #5ADC73
split-complementary
#5A82DC #DC735A #C3DC5A
monochromatic
#21469B #2C5DCD #5A82DC #8CA8E7 #BFCEF1

Accessibility & contrast

On white

3.71
#5A82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5A82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82DC#FFFFFF#000000##000000
##5A82DC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a82dc;
/* rgb */ color: rgb(90, 130, 220);
/* oklch */ color: oklch(62.0% 0.144 264.5);
Tailwind
colors: {
  custom: {
    50: '#93a5e7',
    500: '#5a82dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a82dc;
$custom-light: #93a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82dc",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 221.538,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.14357,
    "h": 264.5
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#5A82DC
secondary
#E2D2B0
accent
#9519CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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