#5A93EF#5A93EF

#5A93EF is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.7% C 0.150 H 259.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5A93EF
RGBrgb(90, 147, 239)
HSLhsl(217, 82%, 65%)
HSVhsv(217, 62%, 94%)
CMYKcmyk(62.3%, 38.5%, 0%, 6.3%)
CIE-LABlab(61.02, 9.30, -51.87)
CIE-LCHlch(61.02, 52.69, 280.16°)
OKLaboklab(66.67% -0.0272 -0.1474)
OKLCHoklch(66.67% 0.15 259.5)
XYZxyz(30.2246, 29.2703, 85.7015)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93EF #EFB65A
analogous
#5ADDEF #5A93EF #6C5AEF
triadic
#5A93EF #EF5A93 #93EF5A
tetradic
#5A93EF #EF5ADD #EFB65A #5AEF6C
square
#5A93EF #EF5ADD #EFB65A #5AEF6C
split-complementary
#5A93EF #EF6C5A #DDEF5A
monochromatic
#1253BC #226EEA #5A93EF #92B8F4 #CADCFA

Accessibility & contrast

On white

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

On black

6.85
#5A93EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A93EF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93EF#FFFFFF#000000##000000
##5A93EF1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#558DED
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a93ef;
/* rgb */ color: rgb(90, 147, 239);
/* oklch */ color: oklch(66.7% 0.150 259.5);
Tailwind
colors: {
  custom: {
    50: '#95b2f5',
    500: '#5a93ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a93ef;
$custom-light: #95b2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93ef",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 217.047,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.14994,
    "h": 259.5
  },
  "luminance": 0.29273
}

Semantic roles & 50–950 ramp

primary
#5A93EF
secondary
#ECD8B9
accent
#8C07DF
background
#F9FAFF
surface
#F2F5FE
border
#CCCFD6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A93EF

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

Preview Lab → · Contrast checker → · Palette generator →

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