#5795DB#5795DB

#5795DB is a light, vivid cyan. Relative luminance 0.286; OKLCH L 65.9% C 0.123 H 252.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5795DB
RGBrgb(87, 149, 219)
HSLhsl(212, 65%, 60%)
HSVhsv(212, 60%, 86%)
CMYKcmyk(60.3%, 32%, 0%, 14.1%)
CIE-LABlab(60.46, 0.98, -41.68)
CIE-LCHlch(60.46, 41.69, 271.35°)
OKLaboklab(65.87% -0.0366 -0.1177)
OKLCHoklch(65.87% 0.123 252.7)
XYZxyz(27.4595, 28.6331, 71.0837)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795DB #DB9D57
analogous
#57D7DB #5795DB #5B57DB
triadic
#5795DB #DB5795 #95DB57
tetradic
#5795DB #DB57D7 #DB9D57 #57DB5B
square
#5795DB #DB57D7 #DB9D57 #57DB5B
split-complementary
#5795DB #DB5B57 #D7DB57
monochromatic
#205897 #2B76CA #5795DB #89B5E6 #BCD5F1

Accessibility & contrast

On white

3.12
#5795DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5795DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795DB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795DB#FFFFFF#000000##000000
##5795DB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#668CDA
Tritanopia (blue-blind)
#00A5AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5795db;
/* rgb */ color: rgb(87, 149, 219);
/* oklch */ color: oklch(65.9% 0.123 252.7);
Tailwind
colors: {
  custom: {
    50: '#91b3e6',
    500: '#5795db',
    950: '#000000',
  },
}
SCSS
$custom: #5795db;
$custom-light: #91b3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5795db",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 211.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.12328,
    "h": 252.7
  },
  "luminance": 0.28636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5795DB

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

Preview Lab → · Contrast checker → · Palette generator →

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