#5A94EC#5A94EC

#5A94EC is a light, vivid blue. Relative luminance 0.294; OKLCH L 66.7% C 0.145 H 258.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5A94EC
RGBrgb(90, 148, 236)
HSLhsl(216, 79%, 64%)
HSVhsv(216, 62%, 93%)
CMYKcmyk(61.9%, 37.3%, 0%, 7.5%)
CIE-LABlab(61.14, 7.71, -50.02)
CIE-LCHlch(61.14, 50.61, 278.77°)
OKLaboklab(66.71% -0.0289 -0.142)
OKLCHoklch(66.71% 0.145 258.5)
XYZxyz(29.9413, 29.4068, 83.4388)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94EC #ECB25A
analogous
#5ADDEC #5A94EC #695AEC
triadic
#5A94EC #EC5A94 #94EC5A
tetradic
#5A94EC #EC5ADD #ECB25A #5AEC69
square
#5A94EC #EC5ADD #ECB25A #5AEC69
split-complementary
#5A94EC #EC695A #DDEC5A
monochromatic
#1555B7 #2370E6 #5A94EC #91B8F2 #C8DBF9

Accessibility & contrast

On white

3.05
#5A94EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#5A94EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94EC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94EC#FFFFFF#000000##000000
##5A94EC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a94ec;
/* rgb */ color: rgb(90, 148, 236);
/* oklch */ color: oklch(66.7% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5a94ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a94ec;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94ec",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 216.164,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.14494,
    "h": 258.5
  },
  "luminance": 0.2941
}

Semantic roles & 50–950 ramp

primary
#5A94EC
secondary
#EBD6B7
accent
#880ADC
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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