#5A8EFC#5A8EFC

#5A8EFC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.173 H 263.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5A8EFC
RGBrgb(90, 142, 252)
HSLhsl(221, 96%, 67%)
HSVhsv(221, 64%, 99%)
CMYKcmyk(64.3%, 43.7%, 0%, 1.2%)
CIE-LABlab(60.38, 16.63, -60.05)
CIE-LCHlch(60.38, 62.31, 285.48°)
OKLaboklab(66.4% -0.0198 -0.1715)
OKLCHoklch(66.4% 0.173 263.4)
XYZxyz(31.4540, 28.5450, 95.9287)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EFC #FCC85A
analogous
#5ADFFC #5A8EFC #775AFC
triadic
#5A8EFC #FC5A8E #8EFC5A
tetradic
#5A8EFC #FC5ADF #FCC85A #5AFC77
square
#5A8EFC #FC5ADF #FCC85A #5AFC77
split-complementary
#5A8EFC #FC775A #DFFC5A
monochromatic
#0448D8 #1E65FB #5A8EFC #96B7FD #D2E0FE

Accessibility & contrast

On white

3.13
#5A8EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5A8EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EFC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EFC#FFFFFF#000000##000000
##5A8EFC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a8efc;
/* rgb */ color: rgb(90, 142, 252);
/* oklch */ color: oklch(66.4% 0.173 263.4);
Tailwind
colors: {
  custom: {
    50: '#97aefe',
    500: '#5a8efc',
    950: '#000000',
  },
}
SCSS
$custom: #5a8efc;
$custom-light: #97aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8efc",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 220.741,
    "s": 96.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66399,
    "c": 0.17265,
    "h": 263.4
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#5A8EFC
secondary
#F3E2BF
accent
#9C00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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