#5A90F2#5A90F2

#5A90F2 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.2% C 0.157 H 261.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5A90F2
RGBrgb(90, 144, 242)
HSLhsl(219, 85%, 65%)
HSVhsv(219, 63%, 95%)
CMYKcmyk(62.8%, 40.5%, 0%, 5.1%)
CIE-LABlab(60.36, 12.08, -54.57)
CIE-LCHlch(60.36, 55.89, 282.48°)
OKLaboklab(66.21% -0.0236 -0.1554)
OKLCHoklch(66.21% 0.157 261.4)
XYZxyz(30.2111, 28.5282, 87.9016)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A90F2 #F2BC5A
analogous
#5ADCF2 #5A90F2 #705AF2
triadic
#5A90F2 #F25A90 #90F25A
tetradic
#5A90F2 #F25ADC #F2BC5A #5AF270
square
#5A90F2 #F25ADC #F2BC5A #5AF270
split-complementary
#5A90F2 #F2705A #DCF25A
monochromatic
#0F4FC2 #216AEE #5A90F2 #93B6F6 #CBDCFB

Accessibility & contrast

On white

3.13
#5A90F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5A90F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A90F2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A90F2#FFFFFF#000000##000000
##5A90F21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#4D8BF0
Tritanopia (blue-blind)
#00A6B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a90f2;
/* rgb */ color: rgb(90, 144, 242);
/* oklch */ color: oklch(66.2% 0.157 261.4);
Tailwind
colors: {
  custom: {
    50: '#96b0f7',
    500: '#5a90f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a90f2;
$custom-light: #96b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a90f2",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 218.684,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.15717,
    "h": 261.4
  },
  "luminance": 0.28531
}

Semantic roles & 50–950 ramp

primary
#5A90F2
secondary
#EEDBBA
accent
#9304E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A90F2

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

Preview Lab → · Contrast checker → · Palette generator →

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