#5A8FEC#5A8FEC

#5A8FEC is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.6% C 0.150 H 260.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5A8FEC
RGBrgb(90, 143, 236)
HSLhsl(218, 79%, 64%)
HSVhsv(218, 62%, 93%)
CMYKcmyk(61.9%, 39.4%, 0%, 7.5%)
CIE-LABlab(59.77, 10.67, -52.19)
CIE-LCHlch(59.77, 53.27, 281.56°)
OKLaboklab(65.65% -0.0238 -0.1484)
OKLCHoklch(65.65% 0.15 260.9)
XYZxyz(29.1739, 27.8720, 83.1830)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FEC #ECB75A
analogous
#5AD8EC #5A8FEC #6E5AEC
triadic
#5A8FEC #EC5A8F #8FEC5A
tetradic
#5A8FEC #EC5AD8 #ECB75A #5AEC6E
square
#5A8FEC #EC5AD8 #ECB75A #5AEC6E
split-complementary
#5A8FEC #EC6E5A #D8EC5A
monochromatic
#1550B7 #236AE6 #5A8FEC #91B4F2 #C8DAF9

Accessibility & contrast

On white

3.19
#5A8FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5A8FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FEC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FEC#FFFFFF#000000##000000
##5A8FEC1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8fec;
/* rgb */ color: rgb(90, 143, 236);
/* oklch */ color: oklch(65.6% 0.150 260.9);
Tailwind
colors: {
  custom: {
    50: '#95aff2',
    500: '#5a8fec',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fec;
$custom-light: #95aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fec",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 218.219,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65649,
    "c": 0.15034,
    "h": 260.9
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#5A8FEC
secondary
#EBD8B7
accent
#8F0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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