#5A8FFC#5A8FFC

#5A8FFC is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.172 H 263.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5A8FFC
RGBrgb(90, 143, 252)
HSLhsl(220, 96%, 67%)
HSVhsv(220, 64%, 99%)
CMYKcmyk(64.3%, 43.3%, 0%, 1.2%)
CIE-LABlab(60.64, 16.03, -59.62)
CIE-LCHlch(60.64, 61.74, 285.05°)
OKLaboklab(66.6% -0.0208 -0.1702)
OKLCHoklch(66.6% 0.172 263)
XYZxyz(31.6034, 28.8439, 95.9785)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FFC #FCC75A
analogous
#5AE0FC #5A8FFC #765AFC
triadic
#5A8FFC #FC5A8F #8FFC5A
tetradic
#5A8FFC #FC5AE0 #FCC75A #5AFC76
square
#5A8FFC #FC5AE0 #FCC75A #5AFC76
split-complementary
#5A8FFC #FC765A #E0FC5A
monochromatic
#0449D8 #1E66FB #5A8FFC #96B8FD #D2E1FE

Accessibility & contrast

On white

3.10
#5A8FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5A8FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FFC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FFC#FFFFFF#000000##000000
##5A8FFC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#00A8B9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a8ffc;
/* rgb */ color: rgb(90, 143, 252);
/* oklch */ color: oklch(66.6% 0.172 263.0);
Tailwind
colors: {
  custom: {
    50: '#97affe',
    500: '#5a8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ffc;
$custom-light: #97affe;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ffc",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 220.37,
    "s": 96.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.1715,
    "h": 263
  },
  "luminance": 0.28847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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