#5A82CB#5A82CB

#5A82CB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.0% C 0.120 H 261.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5A82CB
RGBrgb(90, 130, 203)
HSLhsl(219, 52%, 57%)
HSVhsv(219, 56%, 80%)
CMYKcmyk(55.7%, 36%, 0%, 20.4%)
CIE-LABlab(54.50, 7.58, -42.06)
CIE-LCHlch(54.50, 42.74, 280.22°)
OKLaboklab(61.01% -0.0174 -0.1189)
OKLCHoklch(61.01% 0.12 261.7)
XYZxyz(22.9749, 22.4489, 59.6107)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82CB #CBA35A
analogous
#5ABBCB #5A82CB #6A5ACB
triadic
#5A82CB #CB5A82 #82CB5A
tetradic
#5A82CB #CB5ABB #CBA35A #5ACB6A
square
#5A82CB #CB5ABB #CBA35A #5ACB6A
split-complementary
#5A82CB #CB6A5A #BBCB5A
monochromatic
#294882 #3862B0 #5A82CB #89A5DA #B7C9E8

Accessibility & contrast

On white

3.82
#5A82CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5A82CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82CB#FFFFFF#000000##000000
##5A82CB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#567EC9
Tritanopia (blue-blind)
#0E929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a82cb;
/* rgb */ color: rgb(90, 130, 203);
/* oklch */ color: oklch(61.0% 0.120 261.7);
Tailwind
colors: {
  custom: {
    50: '#90a6db',
    500: '#5a82cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a82cb;
$custom-light: #90a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82cb",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 218.761,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.12022,
    "h": 261.7
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#5A82CB
secondary
#D7C7AA
accent
#A94CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A82CB

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

Preview Lab → · Contrast checker → · Palette generator →

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