#5A8EE5#5A8EE5

#5A8EE5 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.0% C 0.142 H 260.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5A8EE5
RGBrgb(90, 142, 229)
HSLhsl(218, 73%, 63%)
HSVhsv(218, 61%, 90%)
CMYKcmyk(60.7%, 38%, 0%, 10.2%)
CIE-LABlab(59.14, 8.94, -49.32)
CIE-LCHlch(59.14, 50.12, 280.28°)
OKLaboklab(65.04% -0.0243 -0.14)
OKLCHoklch(65.04% 0.142 260.1)
XYZxyz(28.0273, 27.1743, 77.8817)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EE5 #E5B15A
analogous
#5AD3E5 #5A8EE5 #6B5AE5
triadic
#5A8EE5 #E55A8E #8EE55A
tetradic
#5A8EE5 #E55AD3 #E5B15A #5AE56B
square
#5A8EE5 #E55AD3 #E5B15A #5AE56B
split-complementary
#5A8EE5 #E56B5A #D3E55A
monochromatic
#1B50AA #256ADD #5A8EE5 #8FB2ED #C4D6F6

Accessibility & contrast

On white

3.26
#5A8EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5A8EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EE5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EE5#FFFFFF#000000##000000
##5A8EE51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E8
Deuteranopia (green-blind)
#5588E3
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8ee5;
/* rgb */ color: rgb(90, 142, 229);
/* oklch */ color: oklch(65.0% 0.142 260.1);
Tailwind
colors: {
  custom: {
    50: '#94aeed',
    500: '#5a8ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ee5;
$custom-light: #94aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ee5",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 217.554,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.14215,
    "h": 260.1
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#5A8EE5
secondary
#E7D4B4
accent
#8B11D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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