#5790CF#5790CF

#5790CF is a light, moderate cyan. Relative luminance 0.265; OKLCH L 64.1% C 0.113 H 252.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5790CF
RGBrgb(87, 144, 207)
HSLhsl(212, 56%, 58%)
HSVhsv(212, 58%, 81%)
CMYKcmyk(58%, 30.4%, 0%, 18.8%)
CIE-LABlab(58.49, -0.01, -38.06)
CIE-LCHlch(58.49, 38.06, 269.99°)
OKLaboklab(64.14% -0.0346 -0.1072)
OKLCHoklch(64.14% 0.113 252.1)
XYZxyz(25.1622, 26.4756, 62.8037)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790CF #CF9657
analogous
#57CCCF #5790CF #5A57CF
triadic
#5790CF #CF5790 #90CF57
tetradic
#5790CF #CF57CC #CF9657 #57CF5A
square
#5790CF #CF57CC #CF9657 #57CF5A
split-complementary
#5790CF #CF5A57 #CCCF57
monochromatic
#265385 #3471B5 #5790CF #87AFDD #B6CFEA

Accessibility & contrast

On white

3.34
#5790CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5790CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790CF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790CF#FFFFFF#000000##000000
##5790CF1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D2
Deuteranopia (green-blind)
#6687CE
Tritanopia (blue-blind)
#009EA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5790cf;
/* rgb */ color: rgb(87, 144, 207);
/* oklch */ color: oklch(64.1% 0.113 252.1);
Tailwind
colors: {
  custom: {
    50: '#8fb0de',
    500: '#5790cf',
    950: '#000000',
  },
}
SCSS
$custom: #5790cf;
$custom-light: #8fb0de;
$custom-dark: #000000;
JSON
{
  "hex": "#5790cf",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 207
  },
  "hsl": {
    "h": 211.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.11268,
    "h": 252.1
  },
  "luminance": 0.26478
}

Semantic roles & 50–950 ramp

primary
#5790CF
secondary
#D9C2A9
accent
#9849DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5790CF

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

Preview Lab → · Contrast checker → · Palette generator →

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