#5A82BD#5A82BD

#5A82BD is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.3% C 0.101 H 258.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5A82BD
RGBrgb(90, 130, 189)
HSLhsl(216, 43%, 55%)
HSVhsv(216, 52%, 74%)
CMYKcmyk(52.4%, 31.2%, 0%, 25.9%)
CIE-LABlab(53.83, 3.11, -35.15)
CIE-LCHlch(53.83, 35.29, 275.06°)
OKLaboklab(60.26% -0.0211 -0.0989)
OKLCHoklch(60.26% 0.101 258)
XYZxyz(21.3813, 21.8115, 51.2176)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82BD #BD955A
analogous
#5AB3BD #5A82BD #645ABD
triadic
#5A82BD #BD5A82 #82BD5A
tetradic
#5A82BD #BD5AB3 #BD955A #5ABD64
square
#5A82BD #BD5AB3 #BD955A #5ABD64
split-complementary
#5A82BD #BD645A #B3BD5A
monochromatic
#2D4870 #3E649C #5A82BD #86A3CE #B1C4E0

Accessibility & contrast

On white

3.92
#5A82BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5A82BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82BD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82BD#FFFFFF#000000##000000
##5A82BD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#278F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a82bd;
/* rgb */ color: rgb(90, 130, 189);
/* oklch */ color: oklch(60.3% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#8fa6d1',
    500: '#5a82bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a82bd;
$custom-light: #8fa6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82bd",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 189
  },
  "hsl": {
    "h": 215.758,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.10109,
    "h": 258
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#5A82BD
secondary
#CEBDA5
accent
#A055D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A82BD

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

Preview Lab → · Contrast checker → · Palette generator →

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