#5790D2#5790D2

#5790D2 is a light, moderate cyan. Relative luminance 0.266; OKLCH L 64.3% C 0.116 H 253.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5790D2
RGBrgb(87, 144, 210)
HSLhsl(212, 58%, 58%)
HSVhsv(212, 59%, 82%)
CMYKcmyk(58.6%, 31.4%, 0%, 17.6%)
CIE-LABlab(58.62, 0.96, -39.53)
CIE-LCHlch(58.62, 39.54, 271.39°)
OKLaboklab(64.3% -0.0337 -0.1115)
OKLCHoklch(64.3% 0.116 253.2)
XYZxyz(25.5324, 26.6236, 64.7536)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790D2 #D29957
analogous
#57CDD2 #5790D2 #5B57D2
triadic
#5790D2 #D25790 #90D257
tetradic
#5790D2 #D257CD #D29957 #57D25B
square
#5790D2 #D257CD #D29957 #57D25B
split-complementary
#5790D2 #D25B57 #CDD257
monochromatic
#25548A #3271BA #5790D2 #87B0DF #B8D0EC

Accessibility & contrast

On white

3.32
#5790D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5790D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790D2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790D2#FFFFFF#000000##000000
##5790D21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D5
Deuteranopia (green-blind)
#6488D1
Tritanopia (blue-blind)
#009FA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5790d2;
/* rgb */ color: rgb(87, 144, 210);
/* oklch */ color: oklch(64.3% 0.116 253.2);
Tailwind
colors: {
  custom: {
    50: '#90b0e0',
    500: '#5790d2',
    950: '#000000',
  },
}
SCSS
$custom: #5790d2;
$custom-light: #90b0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5790d2",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 210
  },
  "hsl": {
    "h": 212.195,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.11649,
    "h": 253.2
  },
  "luminance": 0.26626
}

Semantic roles & 50–950 ramp

primary
#5790D2
secondary
#DBC4AA
accent
#9A47E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5790D2

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

Preview Lab → · Contrast checker → · Palette generator →

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