#5A82BF#5A82BF

#5A82BF is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.4% C 0.104 H 258.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5A82BF
RGBrgb(90, 130, 191)
HSLhsl(216, 44%, 55%)
HSVhsv(216, 53%, 75%)
CMYKcmyk(52.9%, 31.9%, 0%, 25.1%)
CIE-LABlab(53.92, 3.74, -36.15)
CIE-LCHlch(53.92, 36.34, 275.91°)
OKLaboklab(60.37% -0.0205 -0.1017)
OKLCHoklch(60.37% 0.104 258.6)
XYZxyz(21.5998, 21.8989, 52.3688)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82BF #BF975A
analogous
#5AB4BF #5A82BF #655ABF
triadic
#5A82BF #BF5A82 #82BF5A
tetradic
#5A82BF #BF5AB4 #BF975A #5ABF65
square
#5A82BF #BF5AB4 #BF975A #5ABF65
split-complementary
#5A82BF #BF655A #B4BF5A
monochromatic
#2C4872 #3D649E #5A82BF #86A3D0 #B2C5E1

Accessibility & contrast

On white

3.90
#5A82BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5A82BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82BF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82BF#FFFFFF#000000##000000
##5A82BF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#258F98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a82bf;
/* rgb */ color: rgb(90, 130, 191);
/* oklch */ color: oklch(60.4% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#8fa6d2',
    500: '#5a82bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a82bf;
$custom-light: #8fa6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82bf",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 216.238,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60365,
    "c": 0.1038,
    "h": 258.6
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#5A82BF
secondary
#D0BFA5
accent
#A154D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A82BF

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

Preview Lab → · Contrast checker → · Palette generator →

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