#5794DB#5794DB

#5794DB is a light, vivid cyan. Relative luminance 0.283; OKLCH L 65.6% C 0.124 H 253.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5794DB
RGBrgb(87, 148, 219)
HSLhsl(212, 65%, 60%)
HSVhsv(212, 60%, 86%)
CMYKcmyk(60.3%, 32.4%, 0%, 14.1%)
CIE-LABlab(60.17, 1.56, -42.12)
CIE-LCHlch(60.17, 42.15, 272.13°)
OKLaboklab(65.65% -0.0355 -0.119)
OKLCHoklch(65.65% 0.124 253.4)
XYZxyz(27.3020, 28.3180, 71.0312)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794DB #DB9E57
analogous
#57D6DB #5794DB #5C57DB
triadic
#5794DB #DB5794 #94DB57
tetradic
#5794DB #DB57D6 #DB9E57 #57DB5C
square
#5794DB #DB57D6 #DB9E57 #57DB5C
split-complementary
#5794DB #DB5C57 #D6DB57
monochromatic
#205797 #2B74CA #5794DB #89B4E6 #BCD4F1

Accessibility & contrast

On white

3.15
#5794DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5794DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794DB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794DB#FFFFFF#000000##000000
##5794DB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#648BDA
Tritanopia (blue-blind)
#00A4AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5794db;
/* rgb */ color: rgb(87, 148, 219);
/* oklch */ color: oklch(65.6% 0.124 253.4);
Tailwind
colors: {
  custom: {
    50: '#91b3e6',
    500: '#5794db',
    950: '#000000',
  },
}
SCSS
$custom: #5794db;
$custom-light: #91b3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5794db",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 219
  },
  "hsl": {
    "h": 212.273,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.12421,
    "h": 253.4
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

primary
#5794DB
secondary
#E0C9AD
accent
#9A40E8
background
#F9FAFE
surface
#F2F5FC
border
#CCCFD5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5794DB

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

Preview Lab → · Contrast checker → · Palette generator →

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