#5A82DD#5A82DD

#5A82DD is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.145 H 264.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A82DD
RGBrgb(90, 130, 221)
HSLhsl(222, 66%, 61%)
HSVhsv(222, 59%, 87%)
CMYKcmyk(59.3%, 41.2%, 0%, 13.3%)
CIE-LABlab(55.44, 13.48, -50.73)
CIE-LCHlch(55.44, 52.49, 284.88°)
OKLaboklab(62.04% -0.0135 -0.1443)
OKLCHoklch(62.04% 0.145 264.7)
XYZxyz(25.2457, 23.3573, 71.5706)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82DD #DDB55A
analogous
#5AC4DD #5A82DD #735ADD
triadic
#5A82DD #DD5A82 #82DD5A
tetradic
#5A82DD #DD5AC4 #DDB55A #5ADD73
square
#5A82DD #DD5AC4 #DDB55A #5ADD73
split-complementary
#5A82DD #DD735A #C4DD5A
monochromatic
#20469C #2B5DCF #5A82DD #8DA8E7 #BFCFF2

Accessibility & contrast

On white

3.70
#5A82DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5A82DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82DD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82DD#FFFFFF#000000##000000
##5A82DD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a82dd;
/* rgb */ color: rgb(90, 130, 221);
/* oklch */ color: oklch(62.0% 0.145 264.7);
Tailwind
colors: {
  custom: {
    50: '#93a5e8',
    500: '#5a82dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a82dd;
$custom-light: #93a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82dd",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 221.679,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.14493,
    "h": 264.7
  },
  "luminance": 0.23359
}

Semantic roles & 50–950 ramp

primary
#5A82DD
secondary
#E2D3B1
accent
#9618CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A82DD

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

Preview Lab → · Contrast checker → · Palette generator →

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