#5795E7#5795E7

#5795E7 is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.5% C 0.139 H 256.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5795E7
RGBrgb(87, 149, 231)
HSLhsl(214, 75%, 62%)
HSVhsv(214, 62%, 91%)
CMYKcmyk(62.3%, 35.5%, 0%, 9.4%)
CIE-LABlab(61.03, 4.93, -47.43)
CIE-LCHlch(61.03, 47.69, 275.94°)
OKLaboklab(66.51% -0.0335 -0.1345)
OKLCHoklch(66.51% 0.139 256)
XYZxyz(29.0966, 29.2879, 79.7056)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795E7 #E7A957
analogous
#57DDE7 #5795E7 #6157E7
triadic
#5795E7 #E75795 #95E757
tetradic
#5795E7 #E757DD #E7A957 #57E761
square
#5795E7 #E757DD #E7A957 #57E761
split-complementary
#5795E7 #E76157 #DDE757
monochromatic
#1858AB #2173DF #5795E7 #8DB7EF #C2D9F6

Accessibility & contrast

On white

3.06
#5795E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5795E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795E7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795E7#FFFFFF#000000##000000
##5795E71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5795e7;
/* rgb */ color: rgb(87, 149, 231);
/* oklch */ color: oklch(66.5% 0.139 256.0);
Tailwind
colors: {
  custom: {
    50: '#93b3ef',
    500: '#5795e7',
    950: '#000000',
  },
}
SCSS
$custom: #5795e7;
$custom-light: #93b3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5795e7",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 214.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6651,
    "c": 0.13859,
    "h": 256
  },
  "luminance": 0.29291
}

Semantic roles & 50–950 ramp

primary
#5795E7
secondary
#E7D1B3
accent
#810ED7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795E7

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

Preview Lab → · Contrast checker → · Palette generator →

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