#5A8FEF#5A8FEF

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

Color values

HEX#5A8FEF
RGBrgb(90, 143, 239)
HSLhsl(219, 82%, 65%)
HSVhsv(219, 62%, 94%)
CMYKcmyk(62.3%, 40.2%, 0%, 6.3%)
CIE-LABlab(59.93, 11.67, -53.60)
CIE-LCHlch(59.93, 54.85, 282.28°)
OKLaboklab(65.82% -0.0232 -0.1526)
OKLCHoklch(65.82% 0.154 261.3)
XYZxyz(29.6134, 28.0479, 85.4978)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FEF #EFBA5A
analogous
#5AD9EF #5A8FEF #705AEF
triadic
#5A8FEF #EF5A8F #8FEF5A
tetradic
#5A8FEF #EF5AD9 #EFBA5A #5AEF70
square
#5A8FEF #EF5AD9 #EFBA5A #5AEF70
split-complementary
#5A8FEF #EF705A #D9EF5A
monochromatic
#124FBC #2269EA #5A8FEF #92B5F4 #CADBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8FEF#FFFFFF#000000##000000
##5A8FEF1.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)
#6498F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8fef;
/* rgb */ color: rgb(90, 143, 239);
/* oklch */ color: oklch(65.8% 0.154 261.3);
Tailwind
colors: {
  custom: {
    50: '#95aff5',
    500: '#5a8fef',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fef;
$custom-light: #95aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fef",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 218.658,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.15432,
    "h": 261.3
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#5A8FEF
secondary
#ECDAB9
accent
#9207DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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