#5790CD#5790CD

#5790CD is a light, moderate cyan. Relative luminance 0.264; OKLCH L 64.0% C 0.110 H 251.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5790CD
RGBrgb(87, 144, 205)
HSLhsl(211, 54%, 57%)
HSVhsv(211, 58%, 80%)
CMYKcmyk(57.6%, 29.8%, 0%, 19.6%)
CIE-LABlab(58.39, -0.65, -37.08)
CIE-LCHlch(58.39, 37.08, 268.99°)
OKLaboklab(64.04% -0.0351 -0.1044)
OKLCHoklch(64.04% 0.11 251.4)
XYZxyz(24.9192, 26.3784, 61.5241)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790CD #CD9457
analogous
#57CBCD #5790CD #5957CD
triadic
#5790CD #CD5790 #90CD57
tetradic
#5790CD #CD57CB #CD9457 #57CD59
square
#5790CD #CD57CB #CD9457 #57CD59
split-complementary
#5790CD #CD5957 #CBCD57
monochromatic
#275383 #3571B2 #5790CD #86AFDB #B5CEE9

Accessibility & contrast

On white

3.35
#5790CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5790CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790CD#FFFFFF#000000##000000
##5790CD1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#009EA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5790cd;
/* rgb */ color: rgb(87, 144, 205);
/* oklch */ color: oklch(64.0% 0.110 251.4);
Tailwind
colors: {
  custom: {
    50: '#8fb0dc',
    500: '#5790cd',
    950: '#000000',
  },
}
SCSS
$custom: #5790cd;
$custom-light: #8fb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5790cd",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 205
  },
  "hsl": {
    "h": 211.017,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64039,
    "c": 0.11016,
    "h": 251.4
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#5790CD
secondary
#D8C1A8
accent
#964ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5790CD

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

Preview Lab → · Contrast checker → · Palette generator →

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