#5A8CE9#5A8CE9

#5A8CE9 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.8% C 0.150 H 261.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A8CE9
RGBrgb(90, 140, 233)
HSLhsl(219, 76%, 63%)
HSVhsv(219, 61%, 91%)
CMYKcmyk(61.4%, 39.9%, 0%, 8.6%)
CIE-LABlab(58.80, 11.46, -52.08)
CIE-LCHlch(58.80, 53.32, 282.41°)
OKLaboklab(64.84% -0.0214 -0.1481)
OKLCHoklch(64.84% 0.15 261.8)
XYZxyz(28.2974, 26.8105, 80.7587)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CE9 #E9B75A
analogous
#5AD3E9 #5A8CE9 #6F5AE9
triadic
#5A8CE9 #E95A8C #8CE95A
tetradic
#5A8CE9 #E95AD3 #E9B75A #5AE96F
square
#5A8CE9 #E95AD3 #E9B75A #5AE96F
split-complementary
#5A8CE9 #E96F5A #D3E95A
monochromatic
#184DB1 #2466E2 #5A8CE9 #90B2F0 #C6D7F7

Accessibility & contrast

On white

3.30
#5A8CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5A8CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CE9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CE9#FFFFFF#000000##000000
##5A8CE91.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#4F87E7
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8ce9;
/* rgb */ color: rgb(90, 140, 233);
/* oklch */ color: oklch(64.8% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#94adf0',
    500: '#5a8ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ce9;
$custom-light: #94adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ce9",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 219.021,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.14968,
    "h": 261.8
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#5A8CE9
secondary
#E9D7B6
accent
#910DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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