#5795EA#5795EA

#5795EA is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.7% C 0.142 H 256.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5795EA
RGBrgb(87, 149, 234)
HSLhsl(215, 78%, 63%)
HSVhsv(215, 63%, 92%)
CMYKcmyk(62.8%, 36.3%, 0%, 8.2%)
CIE-LABlab(61.18, 5.93, -48.85)
CIE-LCHlch(61.18, 49.21, 276.92°)
OKLaboklab(66.68% -0.0327 -0.1386)
OKLCHoklch(66.68% 0.142 256.7)
XYZxyz(29.5239, 29.4588, 81.9562)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795EA #EAAC57
analogous
#57DEEA #5795EA #6257EA
triadic
#5795EA #EA5795 #95EA57
tetradic
#5795EA #EA57DE #EAAC57 #57EA62
square
#5795EA #EA57DE #EAAC57 #57EA62
split-complementary
#5795EA #EA6257 #DEEA57
monochromatic
#1657B1 #2173E3 #5795EA #8DB7F1 #C4DAF8

Accessibility & contrast

On white

3.05
#5795EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5795EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795EA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795EA#FFFFFF#000000##000000
##5795EA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BED
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795ea;
/* rgb */ color: rgb(87, 149, 234);
/* oklch */ color: oklch(66.7% 0.142 256.7);
Tailwind
colors: {
  custom: {
    50: '#93b3f1',
    500: '#5795ea',
    950: '#000000',
  },
}
SCSS
$custom: #5795ea;
$custom-light: #93b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ea",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 214.694,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.14246,
    "h": 256.7
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#5795EA
secondary
#E9D3B4
accent
#830BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795EA

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

Preview Lab → · Contrast checker → · Palette generator →

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