#5A8BE2#5A8BE2

#5A8BE2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.2% C 0.141 H 261.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5A8BE2
RGBrgb(90, 139, 226)
HSLhsl(218, 70%, 62%)
HSVhsv(218, 60%, 89%)
CMYKcmyk(60.2%, 38.5%, 0%, 11.4%)
CIE-LABlab(58.16, 9.73, -49.20)
CIE-LCHlch(58.16, 50.15, 281.19°)
OKLaboklab(64.23% -0.0219 -0.1397)
OKLCHoklch(64.23% 0.141 261.1)
XYZxyz(27.1717, 26.1275, 75.5480)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BE2 #E2B15A
analogous
#5ACFE2 #5A8BE2 #6D5AE2
triadic
#5A8BE2 #E25A8B #8BE25A
tetradic
#5A8BE2 #E25ACF #E2B15A #5AE26D
square
#5A8BE2 #E25ACF #E2B15A #5AE26D
split-complementary
#5A8BE2 #E26D5A #CFE25A
monochromatic
#1D4EA5 #2666D9 #5A8BE2 #8EB0EB #C2D4F4

Accessibility & contrast

On white

3.37
#5A8BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5A8BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BE2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BE2#FFFFFF#000000##000000
##5A8BE21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a8be2;
/* rgb */ color: rgb(90, 139, 226);
/* oklch */ color: oklch(64.2% 0.141 261.1);
Tailwind
colors: {
  custom: {
    50: '#93aceb',
    500: '#5a8be2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8be2;
$custom-light: #93aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8be2",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 218.382,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64227,
    "c": 0.14143,
    "h": 261.1
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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