#5A8CE0#5A8CE0

#5A8CE0 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.3% C 0.138 H 260.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE0
RGBrgb(90, 140, 224)
HSLhsl(218, 68%, 62%)
HSVhsv(218, 60%, 88%)
CMYKcmyk(59.8%, 37.5%, 0%, 12.2%)
CIE-LABlab(58.33, 8.48, -47.81)
CIE-LCHlch(58.33, 48.56, 280.06°)
OKLaboklab(64.33% -0.0234 -0.1357)
OKLCHoklch(64.33% 0.138 260.2)
XYZxyz(27.0444, 26.3093, 74.1596)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE0 #E0AE5A
analogous
#5ACFE0 #5A8CE0 #6B5AE0
triadic
#5A8CE0 #E05A8C #8CE05A
tetradic
#5A8CE0 #E05ACF #E0AE5A #5AE06B
square
#5A8CE0 #E05ACF #E0AE5A #5AE06B
split-complementary
#5A8CE0 #E06B5A #CFE05A
monochromatic
#1E4FA1 #2868D5 #5A8CE0 #8EB0EA #C1D4F3

Accessibility & contrast

On white

3.35
#5A8CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5A8CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE0#FFFFFF#000000##000000
##5A8CE01.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#5687DE
Tritanopia (blue-blind)
#009FAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8ce0;
/* rgb */ color: rgb(90, 140, 224);
/* oklch */ color: oklch(64.3% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#93adea',
    500: '#5a8ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce0;
$custom-light: #93adea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce0",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 224
  },
  "hsl": {
    "h": 217.612,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64327,
    "c": 0.13766,
    "h": 260.2
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#5A8CE0
secondary
#E4D1B2
accent
#8A15D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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