#5A8CFD#5A8CFD

#5A8CFD is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.176 H 264.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5A8CFD
RGBrgb(90, 140, 253)
HSLhsl(222, 98%, 67%)
HSVhsv(222, 64%, 99%)
CMYKcmyk(64.4%, 44.7%, 0%, 0.8%)
CIE-LABlab(59.91, 18.17, -61.35)
CIE-LCHlch(59.91, 63.98, 286.50°)
OKLaboklab(66.05% -0.0178 -0.1754)
OKLCHoklch(66.05% 0.176 264.2)
XYZxyz(31.3180, 28.0187, 96.6672)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CFD #FDCB5A
analogous
#5ADEFD #5A8CFD #7A5AFD
triadic
#5A8CFD #FD5A8C #8CFD5A
tetradic
#5A8CFD #FD5ADE #FDCB5A #5AFD7A
square
#5A8CFD #FD5ADE #FDCB5A #5AFD7A
split-complementary
#5A8CFD #FD7A5A #DEFD5A
monochromatic
#0345DA #1E62FC #5A8CFD #96B6FE #D3E0FE

Accessibility & contrast

On white

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

On black

6.60
#5A8CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CFD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CFD#FFFFFF#000000##000000
##5A8CFD1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#3889FB
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8cfd;
/* rgb */ color: rgb(90, 140, 253);
/* oklch */ color: oklch(66.1% 0.176 264.2);
Tailwind
colors: {
  custom: {
    50: '#98adff',
    500: '#5a8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cfd;
$custom-light: #98adff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cfd",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 221.595,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66055,
    "c": 0.17627,
    "h": 264.2
  },
  "luminance": 0.28022
}

Semantic roles & 50–950 ramp

primary
#5A8CFD
secondary
#F3E3C0
accent
#9F00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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