#5A8EF9#5A8EF9

#5A8EF9 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.169 H 263.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF9
RGBrgb(90, 142, 249)
HSLhsl(220, 93%, 66%)
HSVhsv(220, 64%, 98%)
CMYKcmyk(63.9%, 43%, 0%, 2.4%)
CIE-LABlab(60.21, 15.62, -58.67)
CIE-LCHlch(60.21, 60.71, 284.91°)
OKLaboklab(66.22% -0.0204 -0.1674)
OKLCHoklch(66.22% 0.169 263.1)
XYZxyz(30.9823, 28.3563, 93.4447)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF9 #F9C55A
analogous
#5ADEF9 #5A8EF9 #765AF9
triadic
#5A8EF9 #F95A8E #8EF95A
tetradic
#5A8EF9 #F95ADE #F9C55A #5AF976
square
#5A8EF9 #F95ADE #F9C55A #5AF976
split-complementary
#5A8EF9 #F9765A #DEF95A
monochromatic
#0849D1 #1F66F7 #5A8EF9 #95B6FB #D0DFFD

Accessibility & contrast

On white

3.15
#5A8EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5A8EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF9#FFFFFF#000000##000000
##5A8EF91.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8ef9;
/* rgb */ color: rgb(90, 142, 249);
/* oklch */ color: oklch(66.2% 0.169 263.1);
Tailwind
colors: {
  custom: {
    50: '#97aefc',
    500: '#5a8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef9;
$custom-light: #97aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef9",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 220.377,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.16868,
    "h": 263.1
  },
  "luminance": 0.28359
}

Semantic roles & 50–950 ramp

primary
#5A8EF9
secondary
#F1E0BE
accent
#9A00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5A8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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