#5795E5#5795E5

#5795E5 is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.4% C 0.136 H 255.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5795E5
RGBrgb(87, 149, 229)
HSLhsl(214, 73%, 62%)
HSVhsv(214, 62%, 90%)
CMYKcmyk(62%, 34.9%, 0%, 10.2%)
CIE-LABlab(60.94, 4.27, -46.48)
CIE-LCHlch(60.94, 46.67, 275.25°)
OKLaboklab(66.4% -0.034 -0.1317)
OKLCHoklch(66.4% 0.136 255.5)
XYZxyz(28.8157, 29.1756, 78.2264)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795E5 #E5A757
analogous
#57DCE5 #5795E5 #6057E5
triadic
#5795E5 #E55795 #95E557
tetradic
#5795E5 #E557DC #E5A757 #57E560
square
#5795E5 #E557DC #E5A757 #57E560
split-complementary
#5795E5 #E56057 #DCE557
monochromatic
#1A58A8 #2274DD #5795E5 #8CB6ED #C1D8F5

Accessibility & contrast

On white

3.07
#5795E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5795E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795E5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795E5#FFFFFF#000000##000000
##5795E51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE8
Deuteranopia (green-blind)
#5F8DE3
Tritanopia (blue-blind)
#00A7B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5795e5;
/* rgb */ color: rgb(87, 149, 229);
/* oklch */ color: oklch(66.4% 0.136 255.5);
Tailwind
colors: {
  custom: {
    50: '#92b3ed',
    500: '#5795e5',
    950: '#000000',
  },
}
SCSS
$custom: #5795e5;
$custom-light: #92b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5795e5",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 229
  },
  "hsl": {
    "h": 213.803,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.13602,
    "h": 255.5
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

primary
#5795E5
secondary
#E6CFB2
accent
#7F10D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795E5

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

Preview Lab → · Contrast checker → · Palette generator →

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