#5A82CA#5A82CA

#5A82CA is a mid, moderate blue. Relative luminance 0.224; OKLCH L 61.0% C 0.119 H 261.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5A82CA
RGBrgb(90, 130, 202)
HSLhsl(219, 51%, 57%)
HSVhsv(219, 55%, 79%)
CMYKcmyk(55.4%, 35.6%, 0%, 20.8%)
CIE-LABlab(54.45, 7.26, -41.57)
CIE-LCHlch(54.45, 42.20, 279.91°)
OKLaboklab(60.95% -0.0177 -0.1175)
OKLCHoklch(60.95% 0.119 261.5)
XYZxyz(22.8561, 22.4014, 58.9851)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82CA #CAA25A
analogous
#5ABACA #5A82CA #6A5ACA
triadic
#5A82CA #CA5A82 #82CA5A
tetradic
#5A82CA #CA5ABA #CAA25A #5ACA6A
square
#5A82CA #CA5ABA #CAA25A #5ACA6A
split-complementary
#5A82CA #CA6A5A #BACA5A
monochromatic
#294880 #3862AF #5A82CA #88A5D9 #B7C8E8

Accessibility & contrast

On white

3.83
#5A82CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5A82CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82CA#FFFFFF#000000##000000
##5A82CA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#11929C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a82ca;
/* rgb */ color: rgb(90, 130, 202);
/* oklch */ color: oklch(61.0% 0.119 261.5);
Tailwind
colors: {
  custom: {
    50: '#90a6da',
    500: '#5a82ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ca;
$custom-light: #90a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ca",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 218.571,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.11885,
    "h": 261.5
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#5A82CA
secondary
#D7C6A9
accent
#A84DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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