#5A8FED#5A8FED

#5A8FED is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.7% C 0.152 H 261.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5A8FED
RGBrgb(90, 143, 237)
HSLhsl(218, 80%, 64%)
HSVhsv(218, 62%, 93%)
CMYKcmyk(62%, 39.7%, 0%, 7.1%)
CIE-LABlab(59.83, 11.00, -52.66)
CIE-LCHlch(59.83, 53.80, 281.80°)
OKLaboklab(65.71% -0.0236 -0.1498)
OKLCHoklch(65.71% 0.152 261)
XYZxyz(29.3196, 27.9303, 83.9503)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FED #EDB85A
analogous
#5AD9ED #5A8FED #6F5AED
triadic
#5A8FED #ED5A8F #8FED5A
tetradic
#5A8FED #ED5AD9 #EDB85A #5AED6F
square
#5A8FED #ED5AD9 #EDB85A #5AED6F
split-complementary
#5A8FED #ED6F5A #D9ED5A
monochromatic
#144FB8 #236AE7 #5A8FED #91B4F3 #C8DAF9

Accessibility & contrast

On white

3.19
#5A8FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5A8FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FED
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FED#FFFFFF#000000##000000
##5A8FED1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8fed;
/* rgb */ color: rgb(90, 143, 237);
/* oklch */ color: oklch(65.7% 0.152 261.0);
Tailwind
colors: {
  custom: {
    50: '#95aff3',
    500: '#5a8fed',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fed;
$custom-light: #95aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fed",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 218.367,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65707,
    "c": 0.15167,
    "h": 261
  },
  "luminance": 0.27933
}

Semantic roles & 50–950 ramp

primary
#5A8FED
secondary
#EBD9B8
accent
#9009DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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