#5A93E7#5A93E7

#5A93E7 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.2% C 0.139 H 258.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5A93E7
RGBrgb(90, 147, 231)
HSLhsl(216, 75%, 63%)
HSVhsv(216, 61%, 91%)
CMYKcmyk(61%, 36.4%, 0%, 9.4%)
CIE-LABlab(60.61, 6.65, -48.09)
CIE-LCHlch(60.61, 48.55, 277.87°)
OKLaboklab(66.22% -0.029 -0.1364)
OKLCHoklch(66.22% 0.139 258)
XYZxyz(29.0689, 28.8080, 79.6144)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93E7 #E7AE5A
analogous
#5AD9E7 #5A93E7 #685AE7
triadic
#5A93E7 #E75A93 #93E75A
tetradic
#5A93E7 #E75AD9 #E7AE5A #5AE768
square
#5A93E7 #E75AD9 #E7AE5A #5AE768
split-complementary
#5A93E7 #E7685A #D9E75A
monochromatic
#1955AD #2570DF #5A93E7 #8FB6EF #C5D9F7

Accessibility & contrast

On white

3.11
#5A93E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5A93E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A93E7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93E7#FFFFFF#000000##000000
##5A93E71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99EA
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#00A6B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a93e7;
/* rgb */ color: rgb(90, 147, 231);
/* oklch */ color: oklch(66.2% 0.139 258.0);
Tailwind
colors: {
  custom: {
    50: '#94b2ef',
    500: '#5a93e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a93e7;
$custom-light: #94b2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93e7",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 231
  },
  "hsl": {
    "h": 215.745,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.13945,
    "h": 258
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#5A93E7
secondary
#E8D3B5
accent
#860FD7
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A93E7

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

Preview Lab → · Contrast checker → · Palette generator →

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