#5A8CE7#5A8CE7

#5A8CE7 is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.7% C 0.147 H 261.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE7
RGBrgb(90, 140, 231)
HSLhsl(219, 75%, 63%)
HSVhsv(219, 61%, 91%)
CMYKcmyk(61%, 39.4%, 0%, 9.4%)
CIE-LABlab(58.69, 10.79, -51.13)
CIE-LCHlch(58.69, 52.26, 281.92°)
OKLaboklab(64.73% -0.0218 -0.1454)
OKLCHoklch(64.73% 0.147 261.5)
XYZxyz(28.0133, 26.6968, 79.2626)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE7 #E7B55A
analogous
#5AD3E7 #5A8CE7 #6E5AE7
triadic
#5A8CE7 #E75A8C #8CE75A
tetradic
#5A8CE7 #E75AD3 #E7B55A #5AE76E
square
#5A8CE7 #E75AD3 #E7B55A #5AE76E
split-complementary
#5A8CE7 #E76E5A #D3E75A
monochromatic
#194EAD #2567DF #5A8CE7 #8FB1EF #C5D6F7

Accessibility & contrast

On white

3.31
#5A8CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A8CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE7#FFFFFF#000000##000000
##5A8CE71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8ce7;
/* rgb */ color: rgb(90, 140, 231);
/* oklch */ color: oklch(64.7% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#94adef',
    500: '#5a8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce7;
$custom-light: #94adef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce7",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 218.723,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.14701,
    "h": 261.5
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#5A8CE7
secondary
#E8D6B5
accent
#900FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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