#5A8EE2#5A8EE2

#5A8EE2 is a light, vivid blue. Relative luminance 0.270; OKLCH L 64.9% C 0.138 H 259.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5A8EE2
RGBrgb(90, 142, 226)
HSLhsl(217, 70%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(60.2%, 37.2%, 0%, 11.4%)
CIE-LABlab(58.98, 7.95, -47.89)
CIE-LCHlch(58.98, 48.55, 279.43°)
OKLaboklab(64.87% -0.025 -0.1359)
OKLCHoklch(64.87% 0.138 259.6)
XYZxyz(27.6121, 27.0082, 75.6947)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EE2 #E2AE5A
analogous
#5AD2E2 #5A8EE2 #6A5AE2
triadic
#5A8EE2 #E25A8E #8EE25A
tetradic
#5A8EE2 #E25AD2 #E2AE5A #5AE26A
square
#5A8EE2 #E25AD2 #E2AE5A #5AE26A
split-complementary
#5A8EE2 #E26A5A #D2E25A
monochromatic
#1D51A5 #266AD9 #5A8EE2 #8EB2EB #C2D5F4

Accessibility & contrast

On white

3.28
#5A8EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5A8EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EE2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EE2#FFFFFF#000000##000000
##5A8EE21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E5
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8ee2;
/* rgb */ color: rgb(90, 142, 226);
/* oklch */ color: oklch(64.9% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#93aeeb',
    500: '#5a8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ee2;
$custom-light: #93aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ee2",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 217.059,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64867,
    "c": 0.13816,
    "h": 259.6
  },
  "luminance": 0.27011
}

Semantic roles & 50–950 ramp

primary
#5A8EE2
secondary
#E5D2B3
accent
#8913D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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