#5A93EB#5A93EB

#5A93EB is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.4% C 0.145 H 258.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5A93EB
RGBrgb(90, 147, 235)
HSLhsl(216, 78%, 64%)
HSVhsv(216, 62%, 92%)
CMYKcmyk(61.7%, 37.4%, 0%, 7.8%)
CIE-LABlab(60.81, 7.97, -49.98)
CIE-LCHlch(60.81, 50.62, 279.06°)
OKLaboklab(66.44% -0.0281 -0.1419)
OKLCHoklch(66.44% 0.145 258.8)
XYZxyz(29.6403, 29.0365, 82.6237)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93EB #EBB25A
analogous
#5ADBEB #5A93EB #695AEB
triadic
#5A93EB #EB5A93 #93EB5A
tetradic
#5A93EB #EB5ADB #EBB25A #5AEB69
square
#5A93EB #EB5ADB #EBB25A #5AEB69
split-complementary
#5A93EB #EB695A #DBEB5A
monochromatic
#1654B5 #236FE4 #5A93EB #91B7F2 #C7DAF8

Accessibility & contrast

On white

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

On black

6.81
#5A93EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A93EB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93EB#FFFFFF#000000##000000
##5A93EB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#00A7B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a93eb;
/* rgb */ color: rgb(90, 147, 235);
/* oklch */ color: oklch(66.4% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#95b2f2',
    500: '#5a93eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a93eb;
$custom-light: #95b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93eb",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 216.414,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.14469,
    "h": 258.8
  },
  "luminance": 0.29039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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