#5A8EF0#5A8EF0

#5A8EF0 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.7% C 0.157 H 261.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF0
RGBrgb(90, 142, 240)
HSLhsl(219, 83%, 65%)
HSVhsv(219, 63%, 94%)
CMYKcmyk(62.5%, 40.8%, 0%, 5.9%)
CIE-LABlab(59.72, 12.60, -54.49)
CIE-LCHlch(59.72, 55.93, 283.02°)
OKLaboklab(65.67% -0.022 -0.1552)
OKLCHoklch(65.67% 0.157 261.9)
XYZxyz(29.6121, 27.8082, 86.2282)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF0 #F0BC5A
analogous
#5AD9F0 #5A8EF0 #715AF0
triadic
#5A8EF0 #F05A8E #8EF05A
tetradic
#5A8EF0 #F05AD9 #F0BC5A #5AF071
square
#5A8EF0 #F05AD9 #F0BC5A #5AF071
split-complementary
#5A8EF0 #F0715A #D9F05A
monochromatic
#114DBE #2268EB #5A8EF0 #92B4F5 #CADBFA

Accessibility & contrast

On white

3.20
#5A8EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5A8EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF0#FFFFFF#000000##000000
##5A8EF01.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F4
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8ef0;
/* rgb */ color: rgb(90, 142, 240);
/* oklch */ color: oklch(65.7% 0.157 261.9);
Tailwind
colors: {
  custom: {
    50: '#95aef5',
    500: '#5a8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef0;
$custom-light: #95aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef0",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 219.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.15676,
    "h": 261.9
  },
  "luminance": 0.27811
}

Semantic roles & 50–950 ramp

primary
#5A8EF0
secondary
#EDDBB9
accent
#9406E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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