#5A82FD#5A82FD

#5A82FD is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.1% C 0.188 H 267.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5A82FD
RGBrgb(90, 130, 253)
HSLhsl(225, 98%, 67%)
HSVhsv(225, 64%, 99%)
CMYKcmyk(64.4%, 48.6%, 0%, 0.8%)
CIE-LABlab(57.30, 24.20, -65.54)
CIE-LCHlch(57.30, 69.87, 290.27°)
OKLaboklab(64.06% -0.0086 -0.1878)
OKLCHoklch(64.06% 0.188 267.4)
XYZxyz(29.9226, 25.2280, 96.2020)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82FD #FDD55A
analogous
#5AD4FD #5A82FD #845AFD
triadic
#5A82FD #FD5A82 #82FD5A
tetradic
#5A82FD #FD5AD4 #FDD55A #5AFD84
square
#5A82FD #FD5AD4 #FDD55A #5AFD84
split-complementary
#5A82FD #FD845A #D4FD5A
monochromatic
#0337DA #1E54FC #5A82FD #96B0FE #D3DEFE

Accessibility & contrast

On white

3.47
#5A82FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5A82FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82FD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82FD#FFFFFF#000000##000000
##5A82FD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#1183FA
Tritanopia (blue-blind)
#009FB3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a82fd;
/* rgb */ color: rgb(90, 130, 253);
/* oklch */ color: oklch(64.1% 0.188 267.4);
Tailwind
colors: {
  custom: {
    50: '#98a5ff',
    500: '#5a82fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a82fd;
$custom-light: #98a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82fd",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 225.276,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.18803,
    "h": 267.4
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#5A82FD
secondary
#F3E6C0
accent
#AD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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