#5797F0#5797F0

#5797F0 is a light, vivid cyan. Relative luminance 0.305; OKLCH L 67.4% C 0.148 H 257.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5797F0
RGBrgb(87, 151, 240)
HSLhsl(215, 84%, 64%)
HSVhsv(215, 64%, 94%)
CMYKcmyk(63.7%, 37.1%, 0%, 5.9%)
CIE-LABlab(62.04, 6.76, -50.81)
CIE-LCHlch(62.04, 51.26, 277.58°)
OKLaboklab(67.44% -0.0333 -0.1443)
OKLCHoklch(67.44% 0.148 257)
XYZxyz(30.7196, 30.4478, 86.6793)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797F0 #F0B057
analogous
#57E4F0 #5797F0 #6457F0
triadic
#5797F0 #F05797 #97F057
tetradic
#5797F0 #F057E4 #F0B057 #57F064
square
#5797F0 #F057E4 #F0B057 #57F064
split-complementary
#5797F0 #F06457 #E4F057
monochromatic
#1158BC #1F74EB #5797F0 #8FBAF5 #C7DDFA

Accessibility & contrast

On white

2.96
#5797F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5797F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797F0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797F0#FFFFFF#000000##000000
##5797F01.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5797f0;
/* rgb */ color: rgb(87, 151, 240);
/* oklch */ color: oklch(67.4% 0.148 257.0);
Tailwind
colors: {
  custom: {
    50: '#94b5f5',
    500: '#5797f0',
    950: '#000000',
  },
}
SCSS
$custom: #5797f0;
$custom-light: #94b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5797f0",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 214.902,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6744,
    "c": 0.14815,
    "h": 257
  },
  "luminance": 0.30451
}

Semantic roles & 50–950 ramp

primary
#5797F0
secondary
#ECD6B7
accent
#8505E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5797F0

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

Preview Lab → · Contrast checker → · Palette generator →

#5797F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva