#5A94EB#5A94EB

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

Color values

HEX#5A94EB
RGBrgb(90, 148, 235)
HSLhsl(216, 78%, 64%)
HSVhsv(216, 62%, 92%)
CMYKcmyk(61.7%, 37%, 0%, 7.8%)
CIE-LABlab(61.09, 7.38, -49.55)
CIE-LCHlch(61.09, 50.10, 278.48°)
OKLaboklab(66.65% -0.0291 -0.1406)
OKLCHoklch(66.65% 0.144 258.3)
XYZxyz(29.7964, 29.3489, 82.6758)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94EB #EBB15A
analogous
#5ADCEB #5A94EB #685AEB
triadic
#5A94EB #EB5A94 #94EB5A
tetradic
#5A94EB #EB5ADC #EBB15A #5AEB68
square
#5A94EB #EB5ADC #EBB15A #5AEB68
split-complementary
#5A94EB #EB685A #DCEB5A
monochromatic
#1655B5 #2371E4 #5A94EB #91B7F2 #C7DBF8

Accessibility & contrast

On white

3.06
#5A94EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#5A94EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94EB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94EB#FFFFFF#000000##000000
##5A94EB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a94eb;
/* rgb */ color: rgb(90, 148, 235);
/* oklch */ color: oklch(66.7% 0.144 258.3);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5a94eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a94eb;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94eb",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 216,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.14363,
    "h": 258.3
  },
  "luminance": 0.29352
}

Semantic roles & 50–950 ramp

primary
#5A94EB
secondary
#EAD6B7
accent
#880BDB
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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