#5A82DB#5A82DB

#5A82DB is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.9% C 0.142 H 264.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A82DB
RGBrgb(90, 130, 219)
HSLhsl(221, 64%, 61%)
HSVhsv(221, 59%, 86%)
CMYKcmyk(58.9%, 40.6%, 0%, 14.1%)
CIE-LABlab(55.33, 12.82, -49.77)
CIE-LCHlch(55.33, 51.40, 284.44°)
OKLaboklab(61.92% -0.0139 -0.1415)
OKLCHoklch(61.92% 0.142 264.4)
XYZxyz(24.9809, 23.2513, 70.1756)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82DB #DBB35A
analogous
#5AC3DB #5A82DB #725ADB
triadic
#5A82DB #DB5A82 #82DB5A
tetradic
#5A82DB #DB5AC3 #DBB35A #5ADB72
square
#5A82DB #DB5AC3 #DBB35A #5ADB72
split-complementary
#5A82DB #DB725A #C3DB5A
monochromatic
#214799 #2C5ECB #5A82DB #8CA8E6 #BECEF1

Accessibility & contrast

On white

3.72
#5A82DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5A82DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82DB#FFFFFF#000000##000000
##5A82DB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDE
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a82db;
/* rgb */ color: rgb(90, 130, 219);
/* oklch */ color: oklch(61.9% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#93a5e6',
    500: '#5a82db',
    950: '#000000',
  },
}
SCSS
$custom: #5a82db;
$custom-light: #93a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82db",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 221.395,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.14219,
    "h": 264.4
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#5A82DB
secondary
#E1D2B0
accent
#951ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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