#5A8DFF#5A8DFF

#5A8DFF is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.4% C 0.178 H 264.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5A8DFF
RGBrgb(90, 141, 255)
HSLhsl(221, 100%, 68%)
HSVhsv(221, 65%, 100%)
CMYKcmyk(64.7%, 44.7%, 0%, 0%)
CIE-LABlab(60.28, 18.24, -61.84)
CIE-LCHlch(60.28, 64.47, 286.44°)
OKLaboklab(66.38% -0.0184 -0.1768)
OKLCHoklch(66.38% 0.178 264)
XYZxyz(31.7850, 28.4404, 98.4028)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DFF #FFCC5A
analogous
#5ADFFF #5A8DFF #7A5AFF
triadic
#5A8DFF #FF5A8D #8DFF5A
tetradic
#5A8DFF #FF5ADF #FFCC5A #5AFF7A
square
#5A8DFF #FF5ADF #FFCC5A #5AFF7A
split-complementary
#5A8DFF #FF7A5A #DFFF5A
monochromatic
#0045DF #1D63FF #5A8DFF #97B7FF #D4E2FF

Accessibility & contrast

On white

3.14
#5A8DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5A8DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DFF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DFF#FFFFFF#000000##000000
##5A8DFF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#378AFD
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8dff;
/* rgb */ color: rgb(90, 141, 255);
/* oklch */ color: oklch(66.4% 0.178 264.0);
Tailwind
colors: {
  custom: {
    50: '#98adff',
    500: '#5a8dff',
    950: '#000000',
  },
}
SCSS
$custom: #5a8dff;
$custom-light: #98adff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8dff",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 221.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66382,
    "c": 0.17776,
    "h": 264
  },
  "luminance": 0.28443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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