#5A82F2#5A82F2

#5A82F2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.3% C 0.173 H 266.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5A82F2
RGBrgb(90, 130, 242)
HSLhsl(224, 85%, 65%)
HSVhsv(224, 63%, 95%)
CMYKcmyk(62.8%, 46.3%, 0%, 5.1%)
CIE-LABlab(56.63, 20.50, -60.53)
CIE-LCHlch(56.63, 63.91, 288.71°)
OKLaboklab(63.34% -0.01 -0.1731)
OKLCHoklch(63.34% 0.173 266.7)
XYZxyz(28.2206, 24.5472, 87.2381)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82F2 #F2CA5A
analogous
#5ACEF2 #5A82F2 #7E5AF2
triadic
#5A82F2 #F25A82 #82F25A
tetradic
#5A82F2 #F25ACE #F2CA5A #5AF27E
square
#5A82F2 #F25ACE #F2CA5A #5AF27E
split-complementary
#5A82F2 #F27E5A #CEF25A
monochromatic
#0F3EC2 #2157EE #5A82F2 #93ADF6 #CBD8FB

Accessibility & contrast

On white

3.55
#5A82F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5A82F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82F2#FFFFFF#000000##000000
##5A82F21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#2E81F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a82f2;
/* rgb */ color: rgb(90, 130, 242);
/* oklch */ color: oklch(63.3% 0.173 266.7);
Tailwind
colors: {
  custom: {
    50: '#96a5f7',
    500: '#5a82f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a82f2;
$custom-light: #96a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82f2",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 224.211,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6334,
    "c": 0.17338,
    "h": 266.7
  },
  "luminance": 0.2455
}

Semantic roles & 50–950 ramp

primary
#5A82F2
secondary
#EEE0BA
accent
#A704E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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