#5795E8#5795E8

#5795E8 is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.6% C 0.140 H 256.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5795E8
RGBrgb(87, 149, 232)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 63%, 91%)
CMYKcmyk(62.5%, 35.8%, 0%, 9%)
CIE-LABlab(61.08, 5.27, -47.91)
CIE-LCHlch(61.08, 48.19, 276.27°)
OKLaboklab(66.57% -0.0332 -0.1359)
OKLCHoklch(66.57% 0.14 256.3)
XYZxyz(29.2382, 29.3446, 80.4515)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795E8 #E8AA57
analogous
#57DDE8 #5795E8 #6257E8
triadic
#5795E8 #E85795 #95E857
tetradic
#5795E8 #E857DD #E8AA57 #57E862
square
#5795E8 #E857DD #E8AA57 #57E862
split-complementary
#5795E8 #E86257 #DDE857
monochromatic
#1857AD #2173E1 #5795E8 #8DB7EF #C3D9F7

Accessibility & contrast

On white

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

On black

6.87
#5795E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795E8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795E8#FFFFFF#000000##000000
##5795E81.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEB
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5795e8;
/* rgb */ color: rgb(87, 149, 232);
/* oklch */ color: oklch(66.6% 0.140 256.3);
Tailwind
colors: {
  custom: {
    50: '#93b3f0',
    500: '#5795e8',
    950: '#000000',
  },
}
SCSS
$custom: #5795e8;
$custom-light: #93b3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5795e8",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 232
  },
  "hsl": {
    "h": 214.345,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.13988,
    "h": 256.3
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#5795E8
secondary
#E8D1B3
accent
#810DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5795E8

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

Preview Lab → · Contrast checker → · Palette generator →

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