#5790D9#5790D9

#5790D9 is a light, vivid cyan. Relative luminance 0.270; OKLCH L 64.7% C 0.125 H 255.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5790D9
RGBrgb(87, 144, 217)
HSLhsl(214, 63%, 60%)
HSVhsv(214, 60%, 85%)
CMYKcmyk(59.9%, 33.6%, 0%, 14.9%)
CIE-LABlab(58.96, 3.24, -42.92)
CIE-LCHlch(58.96, 43.05, 274.32°)
OKLaboklab(64.66% -0.0318 -0.1214)
OKLCHoklch(64.66% 0.125 255.3)
XYZxyz(26.4237, 26.9801, 69.4474)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790D9 #D9A057
analogous
#57D1D9 #5790D9 #5F57D9
triadic
#5790D9 #D95790 #90D957
tetradic
#5790D9 #D957D1 #D9A057 #57D95F
square
#5790D9 #D957D1 #D9A057 #57D95F
split-complementary
#5790D9 #D95F57 #D1D957
monochromatic
#215494 #2D70C6 #5790D9 #89B1E4 #BBD2F0

Accessibility & contrast

On white

3.28
#5790D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5790D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790D9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790D9#FFFFFF#000000##000000
##5790D91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DC
Deuteranopia (green-blind)
#6088D8
Tritanopia (blue-blind)
#00A1AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5790d9;
/* rgb */ color: rgb(87, 144, 217);
/* oklch */ color: oklch(64.7% 0.125 255.3);
Tailwind
colors: {
  custom: {
    50: '#91b0e5',
    500: '#5790d9',
    950: '#000000',
  },
}
SCSS
$custom: #5790d9;
$custom-light: #91b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5790d9",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 217
  },
  "hsl": {
    "h": 213.692,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.12549,
    "h": 255.3
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#5790D9
secondary
#DFC9AD
accent
#9E42E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790D9

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

Preview Lab → · Contrast checker → · Palette generator →

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