#5A8EE7#5A8EE7

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

Color values

HEX#5A8EE7
RGBrgb(90, 142, 231)
HSLhsl(218, 75%, 63%)
HSVhsv(218, 61%, 91%)
CMYKcmyk(61%, 38.5%, 0%, 9.4%)
CIE-LABlab(59.24, 9.60, -50.27)
CIE-LCHlch(59.24, 51.18, 280.82°)
OKLaboklab(65.15% -0.0239 -0.1428)
OKLCHoklch(65.15% 0.145 260.5)
XYZxyz(28.3082, 27.2866, 79.3609)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EE7 #E7B35A
analogous
#5AD5E7 #5A8EE7 #6C5AE7
triadic
#5A8EE7 #E75A8E #8EE75A
tetradic
#5A8EE7 #E75AD5 #E7B35A #5AE76C
square
#5A8EE7 #E75AD5 #E7B35A #5AE76C
split-complementary
#5A8EE7 #E76C5A #D5E75A
monochromatic
#1950AD #2569DF #5A8EE7 #8FB3EF #C5D7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8EE7#FFFFFF#000000##000000
##5A8EE71.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)
#6796EB
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8ee7;
/* rgb */ color: rgb(90, 142, 231);
/* oklch */ color: oklch(65.1% 0.145 260.5);
Tailwind
colors: {
  custom: {
    50: '#94aeef',
    500: '#5a8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ee7;
$custom-light: #94aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ee7",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 217.872,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.1448,
    "h": 260.5
  },
  "luminance": 0.27289
}

Semantic roles & 50–950 ramp

primary
#5A8EE7
secondary
#E8D5B5
accent
#8D0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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