#5A8CE2#5A8CE2

#5A8CE2 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.4% C 0.140 H 260.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE2
RGBrgb(90, 140, 226)
HSLhsl(218, 70%, 62%)
HSVhsv(218, 60%, 89%)
CMYKcmyk(60.2%, 38.1%, 0%, 11.4%)
CIE-LABlab(58.43, 9.14, -48.77)
CIE-LCHlch(58.43, 49.61, 280.61°)
OKLaboklab(64.44% -0.0229 -0.1384)
OKLCHoklch(64.44% 0.14 260.6)
XYZxyz(27.3172, 26.4184, 75.5964)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE2 #E2B05A
analogous
#5AD0E2 #5A8CE2 #6C5AE2
triadic
#5A8CE2 #E25A8C #8CE25A
tetradic
#5A8CE2 #E25AD0 #E2B05A #5AE26C
square
#5A8CE2 #E25AD0 #E2B05A #5AE26C
split-complementary
#5A8CE2 #E26C5A #D0E25A
monochromatic
#1D4FA5 #2668D9 #5A8CE2 #8EB0EB #C2D5F4

Accessibility & contrast

On white

3.34
#5A8CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5A8CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE2#FFFFFF#000000##000000
##5A8CE21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E5
Deuteranopia (green-blind)
#5587E0
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8ce2;
/* rgb */ color: rgb(90, 140, 226);
/* oklch */ color: oklch(64.4% 0.140 260.6);
Tailwind
colors: {
  custom: {
    50: '#93adeb',
    500: '#5a8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce2;
$custom-light: #93adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce2",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 217.941,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.14033,
    "h": 260.6
  },
  "luminance": 0.26421
}

Semantic roles & 50–950 ramp

primary
#5A8CE2
secondary
#E5D3B3
accent
#8C13D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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