#5796DB#5796DB

#5796DB is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.1% C 0.122 H 252.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5796DB
RGBrgb(87, 150, 219)
HSLhsl(211, 65%, 60%)
HSVhsv(211, 60%, 86%)
CMYKcmyk(60.3%, 31.5%, 0%, 14.1%)
CIE-LABlab(60.74, 0.41, -41.24)
CIE-LCHlch(60.74, 41.24, 270.56°)
OKLaboklab(66.09% -0.0377 -0.1164)
OKLCHoklch(66.09% 0.122 252.1)
XYZxyz(27.6184, 28.9509, 71.1367)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796DB #DB9C57
analogous
#57D8DB #5796DB #5A57DB
triadic
#5796DB #DB5796 #96DB57
tetradic
#5796DB #DB57D8 #DB9C57 #57DB5A
square
#5796DB #DB57D8 #DB9C57 #57DB5A
split-complementary
#5796DB #DB5A57 #D8DB57
monochromatic
#205997 #2B77CA #5796DB #89B5E6 #BCD5F1

Accessibility & contrast

On white

3.09
#5796DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5796DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796DB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796DB#FFFFFF#000000##000000
##5796DB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADE
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5796db;
/* rgb */ color: rgb(87, 150, 219);
/* oklch */ color: oklch(66.1% 0.122 252.1);
Tailwind
colors: {
  custom: {
    50: '#91b4e6',
    500: '#5796db',
    950: '#000000',
  },
}
SCSS
$custom: #5796db;
$custom-light: #91b4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5796db",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 211.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.6609,
    "c": 0.12236,
    "h": 252.1
  },
  "luminance": 0.28953
}

Semantic roles & 50–950 ramp

primary
#5796DB
secondary
#E0C8AD
accent
#9840E8
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5796DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva