#5A8EF4#5A8EF4

#5A8EF4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.9% C 0.162 H 262.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF4
RGBrgb(90, 142, 244)
HSLhsl(220, 88%, 65%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(63.1%, 41.8%, 0%, 4.3%)
CIE-LABlab(59.93, 13.94, -56.36)
CIE-LCHlch(59.93, 58.05, 283.89°)
OKLaboklab(65.91% -0.0213 -0.1607)
OKLCHoklch(65.91% 0.162 262.5)
XYZxyz(30.2129, 28.0485, 89.3921)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF4 #F4C05A
analogous
#5ADBF4 #5A8EF4 #735AF4
triadic
#5A8EF4 #F45A8E #8EF45A
tetradic
#5A8EF4 #F45ADB #F4C05A #5AF473
square
#5A8EF4 #F45ADB #F4C05A #5AF473
split-complementary
#5A8EF4 #F4735A #DBF45A
monochromatic
#0D4CC6 #2167F0 #5A8EF4 #93B5F8 #CDDDFC

Accessibility & contrast

On white

3.18
#5A8EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5A8EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF4#FFFFFF#000000##000000
##5A8EF41.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8ef4;
/* rgb */ color: rgb(90, 142, 244);
/* oklch */ color: oklch(65.9% 0.162 262.5);
Tailwind
colors: {
  custom: {
    50: '#96aef8',
    500: '#5a8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef4;
$custom-light: #96aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef4",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 219.74,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65912,
    "c": 0.16207,
    "h": 262.5
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#5A8EF4
secondary
#EFDDBB
accent
#9801E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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