#5A8EEF#5A8EEF

#5A8EEF is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.6% C 0.155 H 261.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5A8EEF
RGBrgb(90, 142, 239)
HSLhsl(219, 82%, 65%)
HSVhsv(219, 62%, 94%)
CMYKcmyk(62.3%, 40.6%, 0%, 6.3%)
CIE-LABlab(59.66, 12.27, -54.03)
CIE-LCHlch(59.66, 55.40, 282.79°)
OKLaboklab(65.61% -0.0222 -0.1538)
OKLCHoklch(65.61% 0.155 261.8)
XYZxyz(29.4640, 27.7490, 85.4480)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EEF #EFBB5A
analogous
#5AD9EF #5A8EEF #715AEF
triadic
#5A8EEF #EF5A8E #8EEF5A
tetradic
#5A8EEF #EF5AD9 #EFBB5A #5AEF71
square
#5A8EEF #EF5AD9 #EFBB5A #5AEF71
split-complementary
#5A8EEF #EF715A #D9EF5A
monochromatic
#124EBC #2268EA #5A8EEF #92B4F4 #CADAFA

Accessibility & contrast

On white

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

On black

6.55
#5A8EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EEF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EEF#FFFFFF#000000##000000
##5A8EEF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#4D89ED
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8eef;
/* rgb */ color: rgb(90, 142, 239);
/* oklch */ color: oklch(65.6% 0.155 261.8);
Tailwind
colors: {
  custom: {
    50: '#95aef5',
    500: '#5a8eef',
    950: '#000000',
  },
}
SCSS
$custom: #5a8eef;
$custom-light: #95aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8eef",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 219.06,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.15544,
    "h": 261.8
  },
  "luminance": 0.27752
}

Semantic roles & 50–950 ramp

primary
#5A8EEF
secondary
#ECDAB9
accent
#9307DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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