#5795DD#5795DD

#5795DD is a light, vivid cyan. Relative luminance 0.287; OKLCH L 66.0% C 0.126 H 253.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5795DD
RGBrgb(87, 149, 221)
HSLhsl(212, 66%, 60%)
HSVhsv(212, 61%, 87%)
CMYKcmyk(60.6%, 32.6%, 0%, 13.3%)
CIE-LABlab(60.55, 1.64, -42.64)
CIE-LCHlch(60.55, 42.68, 272.20°)
OKLaboklab(65.97% -0.036 -0.1205)
OKLCHoklch(65.97% 0.126 253.3)
XYZxyz(27.7244, 28.7390, 72.4787)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795DD #DD9F57
analogous
#57D8DD #5795DD #5C57DD
triadic
#5795DD #DD5795 #95DD57
tetradic
#5795DD #DD57D8 #DD9F57 #57DD5C
square
#5795DD #DD57D8 #DD9F57 #57DD5C
split-complementary
#5795DD #DD5C57 #D8DD57
monochromatic
#1F589A #2A75CD #5795DD #8AB5E7 #BDD5F2

Accessibility & contrast

On white

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

On black

6.75
#5795DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795DD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795DD#FFFFFF#000000##000000
##5795DD1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#658CDC
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5795dd;
/* rgb */ color: rgb(87, 149, 221);
/* oklch */ color: oklch(66.0% 0.126 253.3);
Tailwind
colors: {
  custom: {
    50: '#91b3e8',
    500: '#5795dd',
    950: '#000000',
  },
}
SCSS
$custom: #5795dd;
$custom-light: #91b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5795dd",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 221
  },
  "hsl": {
    "h": 212.239,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65973,
    "c": 0.12581,
    "h": 253.3
  },
  "luminance": 0.28742
}

Semantic roles & 50–950 ramp

primary
#5795DD
secondary
#E1CAAE
accent
#7A17CE
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795DD

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

Preview Lab → · Contrast checker → · Palette generator →

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