#5A82D7#5A82D7

#5A82D7 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.137 H 263.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5A82D7
RGBrgb(90, 130, 215)
HSLhsl(221, 61%, 60%)
HSVhsv(221, 58%, 84%)
CMYKcmyk(58.1%, 39.5%, 0%, 15.7%)
CIE-LABlab(55.12, 11.50, -47.86)
CIE-LCHlch(55.12, 49.23, 283.51°)
OKLaboklab(61.69% -0.0147 -0.1359)
OKLCHoklch(61.69% 0.137 263.8)
XYZxyz(24.4606, 23.0432, 67.4356)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82D7 #D7AF5A
analogous
#5AC1D7 #5A82D7 #715AD7
triadic
#5A82D7 #D75A82 #82D75A
tetradic
#5A82D7 #D75AC1 #D7AF5A #5AD771
square
#5A82D7 #D75AC1 #D7AF5A #5AD771
split-complementary
#5A82D7 #D7715A #C1D75A
monochromatic
#244793 #305FC4 #5A82D7 #8BA7E3 #BDCDEF

Accessibility & contrast

On white

3.74
#5A82D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5A82D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82D7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82D7#FFFFFF#000000##000000
##5A82D71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8ADA
Deuteranopia (green-blind)
#4D7FD5
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a82d7;
/* rgb */ color: rgb(90, 130, 215);
/* oklch */ color: oklch(61.7% 0.137 263.8);
Tailwind
colors: {
  custom: {
    50: '#92a5e4',
    500: '#5a82d7',
    950: '#000000',
  },
}
SCSS
$custom: #5a82d7;
$custom-light: #92a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82d7",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 215
  },
  "hsl": {
    "h": 220.8,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.13671,
    "h": 263.8
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

primary
#5A82D7
secondary
#DFCFAE
accent
#B144E4
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #5A82D7

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

Preview Lab → · Contrast checker → · Palette generator →

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