#5A8CE8#5A8CE8

#5A8CE8 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.8% C 0.148 H 261.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE8
RGBrgb(90, 140, 232)
HSLhsl(219, 76%, 63%)
HSVhsv(219, 61%, 91%)
CMYKcmyk(61.2%, 39.7%, 0%, 9%)
CIE-LABlab(58.75, 11.13, -51.61)
CIE-LCHlch(58.75, 52.79, 282.17°)
OKLaboklab(64.79% -0.0216 -0.1468)
OKLCHoklch(64.79% 0.148 261.6)
XYZxyz(28.1549, 26.7535, 80.0085)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE8 #E8B65A
analogous
#5AD3E8 #5A8CE8 #6F5AE8
triadic
#5A8CE8 #E85A8C #8CE85A
tetradic
#5A8CE8 #E85AD3 #E8B65A #5AE86F
square
#5A8CE8 #E85AD3 #E8B65A #5AE86F
split-complementary
#5A8CE8 #E86F5A #D3E85A
monochromatic
#184EAF #2467E1 #5A8CE8 #90B1EF #C5D7F7

Accessibility & contrast

On white

3.31
#5A8CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5A8CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE8#FFFFFF#000000##000000
##5A8CE81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EC
Deuteranopia (green-blind)
#5087E6
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8ce8;
/* rgb */ color: rgb(90, 140, 232);
/* oklch */ color: oklch(64.8% 0.148 261.6);
Tailwind
colors: {
  custom: {
    50: '#94adf0',
    500: '#5a8ce8',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce8;
$custom-light: #94adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce8",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 218.873,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.14835,
    "h": 261.6
  },
  "luminance": 0.26756
}

Semantic roles & 50–950 ramp

primary
#5A8CE8
secondary
#E8D6B5
accent
#910ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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