#5A82F7#5A82F7

#5A82F7 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.7% C 0.180 H 267.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A82F7
RGBrgb(90, 130, 247)
HSLhsl(225, 91%, 66%)
HSVhsv(225, 64%, 97%)
CMYKcmyk(63.6%, 47.4%, 0%, 3.1%)
CIE-LABlab(56.93, 22.18, -62.82)
CIE-LCHlch(56.93, 66.62, 289.45°)
OKLaboklab(63.67% -0.0094 -0.1798)
OKLCHoklch(63.67% 0.18 267)
XYZxyz(28.9818, 24.8517, 91.2472)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82F7 #F7CF5A
analogous
#5AD1F7 #5A82F7 #805AF7
triadic
#5A82F7 #F75A82 #82F75A
tetradic
#5A82F7 #F75AD1 #F7CF5A #5AF780
square
#5A82F7 #F75AD1 #F7CF5A #5AF780
split-complementary
#5A82F7 #F7805A #D1F75A
monochromatic
#0A3CCD #2056F4 #5A82F7 #94AEFA #CFDAFD

Accessibility & contrast

On white

3.52
#5A82F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5A82F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82F7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82F7#FFFFFF#000000##000000
##5A82F71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#009DB1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a82f7;
/* rgb */ color: rgb(90, 130, 247);
/* oklch */ color: oklch(63.7% 0.180 267.0);
Tailwind
colors: {
  custom: {
    50: '#97a5fa',
    500: '#5a82f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a82f7;
$custom-light: #97a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82f7",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 224.713,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.18006,
    "h": 267
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#5A82F7
secondary
#F0E3BD
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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