#5795DE#5795DE

#5795DE is a light, vivid cyan. Relative luminance 0.288; OKLCH L 66.0% C 0.127 H 253.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5795DE
RGBrgb(87, 149, 222)
HSLhsl(212, 67%, 61%)
HSVhsv(212, 61%, 87%)
CMYKcmyk(60.8%, 32.9%, 0%, 12.9%)
CIE-LABlab(60.60, 1.97, -43.13)
CIE-LCHlch(60.60, 43.17, 272.61°)
OKLaboklab(66.03% -0.0358 -0.1219)
OKLCHoklch(66.03% 0.127 253.6)
XYZxyz(27.8580, 28.7925, 73.1825)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795DE #DEA057
analogous
#57D9DE #5795DE #5C57DE
triadic
#5795DE #DE5795 #95DE57
tetradic
#5795DE #DE57D9 #DEA057 #57DE5C
square
#5795DE #DE57D9 #DEA057 #57DE5C
split-complementary
#5795DE #DE5C57 #D9DE57
monochromatic
#1F589C #2975CF #5795DE #8AB5E8 #BDD6F2

Accessibility & contrast

On white

3.11
#5795DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5795DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795DE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795DE#FFFFFF#000000##000000
##5795DE1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E1
Deuteranopia (green-blind)
#648CDD
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5795de;
/* rgb */ color: rgb(87, 149, 222);
/* oklch */ color: oklch(66.0% 0.127 253.6);
Tailwind
colors: {
  custom: {
    50: '#91b3e8',
    500: '#5795de',
    950: '#000000',
  },
}
SCSS
$custom: #5795de;
$custom-light: #91b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5795de",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 222
  },
  "hsl": {
    "h": 212.444,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.12707,
    "h": 253.6
  },
  "luminance": 0.28795
}

Semantic roles & 50–950 ramp

primary
#5795DE
secondary
#E2CAAF
accent
#7A16CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795DE

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

Preview Lab → · Contrast checker → · Palette generator →

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