#5795EB#5795EB

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

Color values

HEX#5795EB
RGBrgb(87, 149, 235)
HSLhsl(215, 79%, 63%)
HSVhsv(215, 63%, 92%)
CMYKcmyk(63%, 36.6%, 0%, 7.8%)
CIE-LABlab(61.23, 6.26, -49.33)
CIE-LCHlch(61.23, 49.72, 277.24°)
OKLaboklab(66.73% -0.0325 -0.14)
OKLCHoklch(66.73% 0.144 256.9)
XYZxyz(29.6679, 29.5165, 82.7149)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795EB #EBAD57
analogous
#57DFEB #5795EB #6357EB
triadic
#5795EB #EB5795 #95EB57
tetradic
#5795EB #EB57DF #EBAD57 #57EB63
square
#5795EB #EB57DF #EBAD57 #57EB63
split-complementary
#5795EB #EB6357 #DFEB57
monochromatic
#1557B2 #2072E4 #5795EB #8EB8F2 #C4DAF8

Accessibility & contrast

On white

3.04
#5795EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5795EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795EB#FFFFFF#000000##000000
##5795EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEF
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795eb;
/* rgb */ color: rgb(87, 149, 235);
/* oklch */ color: oklch(66.7% 0.144 256.9);
Tailwind
colors: {
  custom: {
    50: '#93b3f2',
    500: '#5795eb',
    950: '#000000',
  },
}
SCSS
$custom: #5795eb;
$custom-light: #93b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5795eb",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 214.865,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.14375,
    "h": 256.9
  },
  "luminance": 0.29519
}

Semantic roles & 50–950 ramp

primary
#5795EB
secondary
#E9D3B4
accent
#840ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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