#5794DF#5794DF

#5794DF is a light, vivid cyan. Relative luminance 0.285; OKLCH L 65.9% C 0.129 H 254.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5794DF
RGBrgb(87, 148, 223)
HSLhsl(213, 68%, 61%)
HSVhsv(213, 61%, 87%)
CMYKcmyk(61%, 33.6%, 0%, 12.5%)
CIE-LABlab(60.37, 2.88, -44.05)
CIE-LCHlch(60.37, 44.14, 273.73°)
OKLaboklab(65.86% -0.0345 -0.1246)
OKLCHoklch(65.86% 0.129 254.5)
XYZxyz(27.8349, 28.5312, 73.8379)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794DF #DFA257
analogous
#57D8DF #5794DF #5E57DF
triadic
#5794DF #DF5794 #94DF57
tetradic
#5794DF #DF57D8 #DFA257 #57DF5E
square
#5794DF #DF57D8 #DFA257 #57DF5E
split-complementary
#5794DF #DF5E57 #D8DF57
monochromatic
#1E579E #2874D1 #5794DF #8AB5E9 #BED5F3

Accessibility & contrast

On white

3.13
#5794DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5794DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794DF#FFFFFF#000000##000000
##5794DF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#628CDD
Tritanopia (blue-blind)
#00A5AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5794df;
/* rgb */ color: rgb(87, 148, 223);
/* oklch */ color: oklch(65.9% 0.129 254.5);
Tailwind
colors: {
  custom: {
    50: '#92b3e9',
    500: '#5794df',
    950: '#000000',
  },
}
SCSS
$custom: #5794df;
$custom-light: #92b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5794df",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 213.088,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.12931,
    "h": 254.5
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#5794DF
secondary
#E3CCAF
accent
#7C16D0
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5794DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5794DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva