#5A82F6#5A82F6

#5A82F6 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.179 H 267.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A82F6
RGBrgb(90, 130, 246)
HSLhsl(225, 90%, 66%)
HSVhsv(225, 63%, 96%)
CMYKcmyk(63.4%, 47.2%, 0%, 3.5%)
CIE-LABlab(56.87, 21.84, -62.36)
CIE-LCHlch(56.87, 66.08, 289.30°)
OKLaboklab(63.6% -0.0095 -0.1785)
OKLCHoklch(63.6% 0.179 267)
XYZxyz(28.8279, 24.7901, 90.4367)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82F6 #F6CE5A
analogous
#5AD0F6 #5A82F6 #805AF6
triadic
#5A82F6 #F65A82 #82F65A
tetradic
#5A82F6 #F65AD0 #F6CE5A #5AF680
square
#5A82F6 #F65AD0 #F6CE5A #5AF680
split-complementary
#5A82F6 #F6805A #D0F65A
monochromatic
#0B3CCB #2056F3 #5A82F6 #94AEF9 #CEDAFC

Accessibility & contrast

On white

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

On black

5.96
#5A82F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82F6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82F6#FFFFFF#000000##000000
##5A82F61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#2682F4
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a82f6;
/* rgb */ color: rgb(90, 130, 246);
/* oklch */ color: oklch(63.6% 0.179 267.0);
Tailwind
colors: {
  custom: {
    50: '#97a5fa',
    500: '#5a82f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a82f6;
$custom-light: #97a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82f6",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 224.615,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.17873,
    "h": 267
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A82F6

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

Preview Lab → · Contrast checker → · Palette generator →

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