#5A8EEC#5A8EEC

#5A8EEC is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.151 H 261.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5A8EEC
RGBrgb(90, 142, 236)
HSLhsl(219, 79%, 64%)
HSVhsv(219, 62%, 93%)
CMYKcmyk(61.9%, 39.8%, 0%, 7.5%)
CIE-LABlab(59.50, 11.27, -52.62)
CIE-LCHlch(59.50, 53.81, 282.08°)
OKLaboklab(65.44% -0.0228 -0.1497)
OKLCHoklch(65.44% 0.151 261.3)
XYZxyz(29.0245, 27.5731, 83.1332)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EEC #ECB85A
analogous
#5AD7EC #5A8EEC #6F5AEC
triadic
#5A8EEC #EC5A8E #8EEC5A
tetradic
#5A8EEC #EC5AD7 #ECB85A #5AEC6F
square
#5A8EEC #EC5AD7 #ECB85A #5AEC6F
split-complementary
#5A8EEC #EC6F5A #D7EC5A
monochromatic
#154FB7 #2368E6 #5A8EEC #91B4F2 #C8D9F9

Accessibility & contrast

On white

3.22
#5A8EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5A8EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EEC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EEC#FFFFFF#000000##000000
##5A8EEC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#4F89EA
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8eec;
/* rgb */ color: rgb(90, 142, 236);
/* oklch */ color: oklch(65.4% 0.151 261.3);
Tailwind
colors: {
  custom: {
    50: '#95aef2',
    500: '#5a8eec',
    950: '#000000',
  },
}
SCSS
$custom: #5a8eec;
$custom-light: #95aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8eec",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 218.63,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65438,
    "c": 0.15145,
    "h": 261.3
  },
  "luminance": 0.27576
}

Semantic roles & 50–950 ramp

primary
#5A8EEC
secondary
#EBD8B7
accent
#910ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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