#5A8FE9#5A8FE9

#5A8FE9 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.5% C 0.146 H 260.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5A8FE9
RGBrgb(90, 143, 233)
HSLhsl(218, 76%, 63%)
HSVhsv(218, 61%, 91%)
CMYKcmyk(61.4%, 38.6%, 0%, 8.6%)
CIE-LABlab(59.62, 9.67, -50.78)
CIE-LCHlch(59.62, 51.69, 280.79°)
OKLaboklab(65.48% -0.0245 -0.1443)
OKLCHoklch(65.48% 0.146 260.4)
XYZxyz(28.7417, 27.6992, 80.9068)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FE9 #E9B45A
analogous
#5AD7E9 #5A8FE9 #6C5AE9
triadic
#5A8FE9 #E95A8F #8FE95A
tetradic
#5A8FE9 #E95AD7 #E9B45A #5AE96C
square
#5A8FE9 #E95AD7 #E9B45A #5AE96C
split-complementary
#5A8FE9 #E96C5A #D7E95A
monochromatic
#1850B1 #246AE2 #5A8FE9 #90B4F0 #C6D8F7

Accessibility & contrast

On white

3.21
#5A8FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5A8FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FE9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FE9#FFFFFF#000000##000000
##5A8FE91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897ED
Deuteranopia (green-blind)
#5489E7
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8fe9;
/* rgb */ color: rgb(90, 143, 233);
/* oklch */ color: oklch(65.5% 0.146 260.4);
Tailwind
colors: {
  custom: {
    50: '#94aff0',
    500: '#5a8fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fe9;
$custom-light: #94aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fe9",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 233
  },
  "hsl": {
    "h": 217.762,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65476,
    "c": 0.14636,
    "h": 260.4
  },
  "luminance": 0.27702
}

Semantic roles & 50–950 ramp

primary
#5A8FE9
secondary
#E9D6B6
accent
#8D0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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