#5A8FEB#5A8FEB

#5A8FEB is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.6% C 0.149 H 260.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5A8FEB
RGBrgb(90, 143, 235)
HSLhsl(218, 78%, 64%)
HSVhsv(218, 62%, 92%)
CMYKcmyk(61.7%, 39.1%, 0%, 7.8%)
CIE-LABlab(59.72, 10.34, -51.72)
CIE-LCHlch(59.72, 52.74, 281.30°)
OKLaboklab(65.59% -0.024 -0.1471)
OKLCHoklch(65.59% 0.149 260.7)
XYZxyz(29.0290, 27.8141, 82.4200)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FEB #EBB65A
analogous
#5AD7EB #5A8FEB #6D5AEB
triadic
#5A8FEB #EB5A8F #8FEB5A
tetradic
#5A8FEB #EB5AD7 #EBB65A #5AEB6D
square
#5A8FEB #EB5AD7 #EBB65A #5AEB6D
split-complementary
#5A8FEB #EB6D5A #D7EB5A
monochromatic
#1650B5 #236AE4 #5A8FEB #91B4F2 #C7D9F8

Accessibility & contrast

On white

3.20
#5A8FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5A8FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FEB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FEB#FFFFFF#000000##000000
##5A8FEB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#528AE9
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8feb;
/* rgb */ color: rgb(90, 143, 235);
/* oklch */ color: oklch(65.6% 0.149 260.7);
Tailwind
colors: {
  custom: {
    50: '#95aff2',
    500: '#5a8feb',
    950: '#000000',
  },
}
SCSS
$custom: #5a8feb;
$custom-light: #95aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8feb",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 218.069,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65591,
    "c": 0.14901,
    "h": 260.7
  },
  "luminance": 0.27817
}

Semantic roles & 50–950 ramp

primary
#5A8FEB
secondary
#EAD7B7
accent
#8F0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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