#5A8DEC#5A8DEC

#5A8DEC is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.2% C 0.153 H 261.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5A8DEC
RGBrgb(90, 141, 236)
HSLhsl(219, 79%, 64%)
HSVhsv(219, 62%, 93%)
CMYKcmyk(61.9%, 40.3%, 0%, 7.5%)
CIE-LABlab(59.23, 11.86, -53.05)
CIE-LCHlch(59.23, 54.36, 282.60°)
OKLaboklab(65.23% -0.0218 -0.151)
OKLCHoklch(65.23% 0.153 261.8)
XYZxyz(28.8763, 27.2769, 83.0838)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DEC #ECB95A
analogous
#5AD6EC #5A8DEC #705AEC
triadic
#5A8DEC #EC5A8D #8DEC5A
tetradic
#5A8DEC #EC5AD6 #ECB95A #5AEC70
square
#5A8DEC #EC5AD6 #ECB95A #5AEC70
split-complementary
#5A8DEC #EC705A #D6EC5A
monochromatic
#154DB7 #2367E6 #5A8DEC #91B3F2 #C8D9F9

Accessibility & contrast

On white

3.25
#5A8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5A8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DEC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DEC#FFFFFF#000000##000000
##5A8DEC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#4E88EA
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8dec;
/* rgb */ color: rgb(90, 141, 236);
/* oklch */ color: oklch(65.2% 0.153 261.8);
Tailwind
colors: {
  custom: {
    50: '#95adf2',
    500: '#5a8dec',
    950: '#000000',
  },
}
SCSS
$custom: #5a8dec;
$custom-light: #95adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8dec",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 219.041,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65228,
    "c": 0.15257,
    "h": 261.8
  },
  "luminance": 0.2728
}

Semantic roles & 50–950 ramp

primary
#5A8DEC
secondary
#EBD9B7
accent
#920ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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