#5793EA#5793EA

#5793EA is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.2% C 0.145 H 257.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5793EA
RGBrgb(87, 147, 234)
HSLhsl(216, 78%, 63%)
HSVhsv(216, 63%, 92%)
CMYKcmyk(62.8%, 37.2%, 0%, 8.2%)
CIE-LABlab(60.63, 7.11, -49.73)
CIE-LCHlch(60.63, 50.23, 278.13°)
OKLaboklab(66.25% -0.0307 -0.1412)
OKLCHoklch(66.25% 0.145 257.7)
XYZxyz(29.2102, 28.8314, 81.8516)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5793EA #EAAE57
analogous
#57DDEA #5793EA #6457EA
triadic
#5793EA #EA5793 #93EA57
tetradic
#5793EA #EA57DD #EAAE57 #57EA64
square
#5793EA #EA57DD #EAAE57 #57EA64
split-complementary
#5793EA #EA6457 #DDEA57
monochromatic
#1655B1 #2170E3 #5793EA #8DB6F1 #C4D9F8

Accessibility & contrast

On white

3.10
#5793EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5793EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5793EA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5793EA#FFFFFF#000000##000000
##5793EA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5793ea;
/* rgb */ color: rgb(87, 147, 234);
/* oklch */ color: oklch(66.2% 0.145 257.7);
Tailwind
colors: {
  custom: {
    50: '#93b2f1',
    500: '#5793ea',
    950: '#000000',
  },
}
SCSS
$custom: #5793ea;
$custom-light: #93b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5793ea",
  "rgb": {
    "r": 87,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 215.51,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.14453,
    "h": 257.7
  },
  "luminance": 0.28834
}

Semantic roles & 50–950 ramp

primary
#5793EA
secondary
#E9D3B4
accent
#860BDA
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5793EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5793EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva