#5A93EC#5A93EC

#5A93EC is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.5% C 0.146 H 259.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5A93EC
RGBrgb(90, 147, 236)
HSLhsl(217, 79%, 64%)
HSVhsv(217, 62%, 93%)
CMYKcmyk(61.9%, 37.7%, 0%, 7.5%)
CIE-LABlab(60.86, 8.30, -50.46)
CIE-LCHlch(60.86, 51.14, 279.34°)
OKLaboklab(66.5% -0.0279 -0.1433)
OKLCHoklch(66.5% 0.146 259)
XYZxyz(29.7851, 29.0945, 83.3868)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93EC #ECB35A
analogous
#5ADCEC #5A93EC #6A5AEC
triadic
#5A93EC #EC5A93 #93EC5A
tetradic
#5A93EC #EC5ADC #ECB35A #5AEC6A
square
#5A93EC #EC5ADC #ECB35A #5AEC6A
split-complementary
#5A93EC #EC6A5A #DCEC5A
monochromatic
#1554B7 #236FE6 #5A93EC #91B7F2 #C8DBF9

Accessibility & contrast

On white

3.08
#5A93EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5A93EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A93EC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93EC#FFFFFF#000000##000000
##5A93EC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#588DEA
Tritanopia (blue-blind)
#00A7B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a93ec;
/* rgb */ color: rgb(90, 147, 236);
/* oklch */ color: oklch(66.5% 0.146 259.0);
Tailwind
colors: {
  custom: {
    50: '#95b2f2',
    500: '#5a93ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a93ec;
$custom-light: #95b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93ec",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 216.575,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.146,
    "h": 259
  },
  "luminance": 0.29097
}

Semantic roles & 50–950 ramp

primary
#5A93EC
secondary
#EBD7B7
accent
#8A0ADC
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A93EC

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

Preview Lab → · Contrast checker → · Palette generator →

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