#5795E6#5795E6

#5795E6 is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.5% C 0.137 H 255.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5795E6
RGBrgb(87, 149, 230)
HSLhsl(214, 74%, 62%)
HSVhsv(214, 62%, 90%)
CMYKcmyk(62.2%, 35.2%, 0%, 9.8%)
CIE-LABlab(60.99, 4.60, -46.95)
CIE-LCHlch(60.99, 47.18, 275.60°)
OKLaboklab(66.46% -0.0337 -0.1331)
OKLCHoklch(66.46% 0.137 255.8)
XYZxyz(28.9557, 29.2316, 78.9639)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795E6 #E6A857
analogous
#57DCE6 #5795E6 #6157E6
triadic
#5795E6 #E65795 #95E657
tetradic
#5795E6 #E657DC #E6A857 #57E661
square
#5795E6 #E657DC #E6A857 #57E661
split-complementary
#5795E6 #E66157 #DCE657
monochromatic
#1958A9 #2273DE #5795E6 #8CB7EE #C2D8F6

Accessibility & contrast

On white

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

On black

6.85
#5795E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795E6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795E6#FFFFFF#000000##000000
##5795E61.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BE9
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5795e6;
/* rgb */ color: rgb(87, 149, 230);
/* oklch */ color: oklch(66.5% 0.137 255.8);
Tailwind
colors: {
  custom: {
    50: '#92b3ee',
    500: '#5795e6',
    950: '#000000',
  },
}
SCSS
$custom: #5795e6;
$custom-light: #92b3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5795e6",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 230
  },
  "hsl": {
    "h": 213.986,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.1373,
    "h": 255.8
  },
  "luminance": 0.29234
}

Semantic roles & 50–950 ramp

primary
#5795E6
secondary
#E7D0B2
accent
#800FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795E6

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

Preview Lab → · Contrast checker → · Palette generator →

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