#5A8FEE#5A8FEE

#5A8FEE is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.8% C 0.153 H 261.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5A8FEE
RGBrgb(90, 143, 238)
HSLhsl(219, 81%, 64%)
HSVhsv(219, 62%, 93%)
CMYKcmyk(62.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(59.88, 11.34, -53.13)
CIE-LCHlch(59.88, 54.32, 282.05°)
OKLaboklab(65.77% -0.0234 -0.1512)
OKLCHoklch(65.77% 0.153 261.2)
XYZxyz(29.4661, 27.9889, 84.7219)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FEE #EEB95A
analogous
#5AD9EE #5A8FEE #6F5AEE
triadic
#5A8FEE #EE5A8F #8FEE5A
tetradic
#5A8FEE #EE5AD9 #EEB95A #5AEE6F
square
#5A8FEE #EE5AD9 #EEB95A #5AEE6F
split-complementary
#5A8FEE #EE6F5A #D9EE5A
monochromatic
#134FBA #2369E8 #5A8FEE #91B5F4 #C9DAF9

Accessibility & contrast

On white

3.18
#5A8FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5A8FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FEE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FEE#FFFFFF#000000##000000
##5A8FEE1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8fee;
/* rgb */ color: rgb(90, 143, 238);
/* oklch */ color: oklch(65.8% 0.153 261.2);
Tailwind
colors: {
  custom: {
    50: '#95aff4',
    500: '#5a8fee',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fee;
$custom-light: #95aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fee",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 218.514,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.15299,
    "h": 261.2
  },
  "luminance": 0.27992
}

Semantic roles & 50–950 ramp

primary
#5A8FEE
secondary
#ECD9B8
accent
#9108DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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