#5793EF#5793EF

#5793EF is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.5% C 0.151 H 258.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5793EF
RGBrgb(87, 147, 239)
HSLhsl(216, 83%, 64%)
HSVhsv(216, 64%, 94%)
CMYKcmyk(63.6%, 38.5%, 0%, 6.3%)
CIE-LABlab(60.89, 8.78, -52.08)
CIE-LCHlch(60.89, 52.82, 279.57°)
OKLaboklab(66.53% -0.0296 -0.1481)
OKLCHoklch(66.53% 0.151 258.7)
XYZxyz(29.9386, 29.1228, 85.6881)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5793EF #EFB357
analogous
#57DFEF #5793EF #6757EF
triadic
#5793EF #EF5793 #93EF57
tetradic
#5793EF #EF57DF #EFB357 #57EF67
square
#5793EF #EF57DF #EFB357 #57EF67
split-complementary
#5793EF #EF6757 #DFEF57
monochromatic
#1254BA #1F6FEA #5793EF #8FB7F4 #C7DBFA

Accessibility & contrast

On white

3.08
#5793EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5793EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5793EF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5793EF#FFFFFF#000000##000000
##5793EF1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5793ef;
/* rgb */ color: rgb(87, 147, 239);
/* oklch */ color: oklch(66.5% 0.151 258.7);
Tailwind
colors: {
  custom: {
    50: '#94b2f5',
    500: '#5793ef',
    950: '#000000',
  },
}
SCSS
$custom: #5793ef;
$custom-light: #94b2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5793ef",
  "rgb": {
    "r": 87,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 216.316,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6653,
    "c": 0.15105,
    "h": 258.7
  },
  "luminance": 0.29126
}

Semantic roles & 50–950 ramp

primary
#5793EF
secondary
#ECD7B6
accent
#8A06DF
background
#F9FAFF
surface
#F2F5FE
border
#CCCFD6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5793EF

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

Preview Lab → · Contrast checker → · Palette generator →

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