#5793F4#5793F4

#5793F4 is a light, vivid blue. Relative luminance 0.294; OKLCH L 66.8% C 0.158 H 259.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5793F4
RGBrgb(87, 147, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(64.3%, 39.8%, 0%, 4.3%)
CIE-LABlab(61.15, 10.46, -54.42)
CIE-LCHlch(61.15, 55.42, 280.88°)
OKLaboklab(66.82% -0.0285 -0.155)
OKLCHoklch(66.82% 0.158 259.6)
XYZxyz(30.6875, 29.4224, 89.6323)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5793F4 #F4B857
analogous
#57E1F4 #5793F4 #6A57F4
triadic
#5793F4 #F45793 #93F457
tetradic
#5793F4 #F457E1 #F4B857 #57F46A
square
#5793F4 #F457E1 #F4B857 #57F46A
split-complementary
#5793F4 #F46A57 #E1F457
monochromatic
#0D53C4 #1E6EF0 #5793F4 #90B8F8 #CADDFC

Accessibility & contrast

On white

3.05
#5793F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5793F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5793F4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5793F4#FFFFFF#000000##000000
##5793F41.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#00A9B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5793f4;
/* rgb */ color: rgb(87, 147, 244);
/* oklch */ color: oklch(66.8% 0.158 259.6);
Tailwind
colors: {
  custom: {
    50: '#95b2f8',
    500: '#5793f4',
    950: '#000000',
  },
}
SCSS
$custom: #5793f4;
$custom-light: #95b2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5793f4",
  "rgb": {
    "r": 87,
    "g": 147,
    "b": 244
  },
  "hsl": {
    "h": 217.07,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66819,
    "c": 0.15758,
    "h": 259.6
  },
  "luminance": 0.29425
}

Semantic roles & 50–950 ramp

primary
#5793F4
secondary
#EEDAB9
accent
#8E01E4
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5793F4

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

Preview Lab → · Contrast checker → · Palette generator →

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