#5794D2#5794D2

#5794D2 is a light, moderate cyan. Relative luminance 0.279; OKLCH L 65.2% C 0.113 H 250.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5794D2
RGBrgb(87, 148, 210)
HSLhsl(210, 58%, 58%)
HSVhsv(210, 59%, 82%)
CMYKcmyk(58.6%, 29.5%, 0%, 17.6%)
CIE-LABlab(59.76, -1.35, -37.75)
CIE-LCHlch(59.76, 37.77, 267.94°)
OKLaboklab(65.19% -0.0381 -0.1063)
OKLCHoklch(65.19% 0.113 250.3)
XYZxyz(26.1490, 27.8569, 64.9592)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794D2 #D29557
analogous
#57D1D2 #5794D2 #5757D2
triadic
#5794D2 #D25794 #94D257
tetradic
#5794D2 #D257D1 #D29557 #57D257
square
#5794D2 #D257D1 #D29557 #57D257
split-complementary
#5794D2 #D25757 #D1D257
monochromatic
#25578A #3275BA #5794D2 #87B3DF #B8D1EC

Accessibility & contrast

On white

3.20
#5794D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5794D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794D2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794D2#FFFFFF#000000##000000
##5794D21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#00A2AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5794d2;
/* rgb */ color: rgb(87, 148, 210);
/* oklch */ color: oklch(65.2% 0.113 250.3);
Tailwind
colors: {
  custom: {
    50: '#90b3e0',
    500: '#5794d2',
    950: '#000000',
  },
}
SCSS
$custom: #5794d2;
$custom-light: #90b3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5794d2",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 210
  },
  "hsl": {
    "h": 210.244,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.11292,
    "h": 250.3
  },
  "luminance": 0.27859
}

Semantic roles & 50–950 ramp

primary
#5794D2
secondary
#DBC3AA
accent
#9547E1
background
#F9FAFD
surface
#F2F5FB
border
#CCCFD4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5794D2

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

Preview Lab → · Contrast checker → · Palette generator →

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