#5A8DE7#5A8DE7

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

Color values

HEX#5A8DE7
RGBrgb(90, 141, 231)
HSLhsl(218, 75%, 63%)
HSVhsv(218, 61%, 91%)
CMYKcmyk(61%, 39%, 0%, 9.4%)
CIE-LABlab(58.97, 10.20, -50.70)
CIE-LCHlch(58.97, 51.72, 281.37°)
OKLaboklab(64.94% -0.0229 -0.1441)
OKLCHoklch(64.94% 0.146 261)
XYZxyz(28.1601, 26.9904, 79.3115)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DE7 #E7B45A
analogous
#5AD3E7 #5A8DE7 #6D5AE7
triadic
#5A8DE7 #E75A8D #8DE75A
tetradic
#5A8DE7 #E75AD3 #E7B45A #5AE76D
square
#5A8DE7 #E75AD3 #E7B45A #5AE76D
split-complementary
#5A8DE7 #E76D5A #D3E75A
monochromatic
#194FAD #2568DF #5A8DE7 #8FB2EF #C5D7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8DE7#FFFFFF#000000##000000
##5A8DE71.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)
#6695EB
Deuteranopia (green-blind)
#5288E5
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8de7;
/* rgb */ color: rgb(90, 141, 231);
/* oklch */ color: oklch(64.9% 0.146 261.0);
Tailwind
colors: {
  custom: {
    50: '#94adef',
    500: '#5a8de7',
    950: '#000000',
  },
}
SCSS
$custom: #5a8de7;
$custom-light: #94adef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8de7",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 218.298,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64938,
    "c": 0.1459,
    "h": 261
  },
  "luminance": 0.26993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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