#5A90EC#5A90EC

#5A90EC is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.9% C 0.149 H 260.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5A90EC
RGBrgb(90, 144, 236)
HSLhsl(218, 79%, 64%)
HSVhsv(218, 62%, 93%)
CMYKcmyk(61.9%, 39%, 0%, 7.5%)
CIE-LABlab(60.05, 10.08, -51.76)
CIE-LCHlch(60.05, 52.73, 281.02°)
OKLaboklab(65.86% -0.0248 -0.1472)
OKLCHoklch(65.86% 0.149 260.4)
XYZxyz(29.3247, 28.1736, 83.2333)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A90EC #ECB65A
analogous
#5AD9EC #5A90EC #6D5AEC
triadic
#5A90EC #EC5A90 #90EC5A
tetradic
#5A90EC #EC5AD9 #ECB65A #5AEC6D
square
#5A90EC #EC5AD9 #ECB65A #5AEC6D
split-complementary
#5A90EC #EC6D5A #D9EC5A
monochromatic
#1551B7 #236BE6 #5A90EC #91B5F2 #C8DAF9

Accessibility & contrast

On white

3.16
#5A90EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5A90EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A90EC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A90EC#FFFFFF#000000##000000
##5A90EC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#538AEA
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a90ec;
/* rgb */ color: rgb(90, 144, 236);
/* oklch */ color: oklch(65.9% 0.149 260.4);
Tailwind
colors: {
  custom: {
    50: '#95b0f2',
    500: '#5a90ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a90ec;
$custom-light: #95b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a90ec",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 217.808,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.14924,
    "h": 260.4
  },
  "luminance": 0.28176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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