#5795E4#5795E4

#5795E4 is a light, vivid cyan. Relative luminance 0.291; OKLCH L 66.3% C 0.135 H 255.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5795E4
RGBrgb(87, 149, 228)
HSLhsl(214, 72%, 62%)
HSVhsv(214, 62%, 89%)
CMYKcmyk(61.8%, 34.6%, 0%, 10.6%)
CIE-LABlab(60.89, 3.94, -46.00)
CIE-LCHlch(60.89, 46.17, 274.90°)
OKLaboklab(66.35% -0.0342 -0.1303)
OKLCHoklch(66.35% 0.135 255.3)
XYZxyz(28.6765, 29.1199, 77.4932)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795E4 #E4A657
analogous
#57DCE4 #5795E4 #6057E4
triadic
#5795E4 #E45795 #95E457
tetradic
#5795E4 #E457DC #E4A657 #57E460
square
#5795E4 #E457DC #E4A657 #57E460
split-complementary
#5795E4 #E46057 #DCE457
monochromatic
#1B58A6 #2374DB #5795E4 #8CB6EC #C0D8F5

Accessibility & contrast

On white

3.08
#5795E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5795E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795E4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795E4#FFFFFF#000000##000000
##5795E41.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#608DE2
Tritanopia (blue-blind)
#00A7B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5795e4;
/* rgb */ color: rgb(87, 149, 228);
/* oklch */ color: oklch(66.3% 0.135 255.3);
Tailwind
colors: {
  custom: {
    50: '#92b3ed',
    500: '#5795e4',
    950: '#000000',
  },
}
SCSS
$custom: #5795e4;
$custom-light: #92b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5795e4",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 228
  },
  "hsl": {
    "h": 213.617,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.13474,
    "h": 255.3
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#5795E4
secondary
#E6CFB1
accent
#7F11D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795E4

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

Preview Lab → · Contrast checker → · Palette generator →

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