#5795ED#5795ED

#5795ED is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.8% C 0.146 H 257.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5795ED
RGBrgb(87, 149, 237)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(63.3%, 37.1%, 0%, 7.1%)
CIE-LABlab(61.34, 6.93, -50.27)
CIE-LCHlch(61.34, 50.75, 277.85°)
OKLaboklab(66.84% -0.032 -0.1428)
OKLCHoklch(66.84% 0.146 257.4)
XYZxyz(29.9585, 29.6327, 84.2452)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795ED #EDAF57
analogous
#57E0ED #5795ED #6457ED
triadic
#5795ED #ED5795 #95ED57
tetradic
#5795ED #ED57E0 #EDAF57 #57ED64
square
#5795ED #ED57E0 #EDAF57 #57ED64
split-complementary
#5795ED #ED6457 #E0ED57
monochromatic
#1457B6 #2072E7 #5795ED #8EB8F3 #C6DBF9

Accessibility & contrast

On white

3.03
#5795ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5795ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795ED
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795ED#FFFFFF#000000##000000
##5795ED1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#598EEB
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795ed;
/* rgb */ color: rgb(87, 149, 237);
/* oklch */ color: oklch(66.8% 0.146 257.4);
Tailwind
colors: {
  custom: {
    50: '#94b3f3',
    500: '#5795ed',
    950: '#000000',
  },
}
SCSS
$custom: #5795ed;
$custom-light: #94b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ed",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 215.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.14634,
    "h": 257.4
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

primary
#5795ED
secondary
#EAD5B5
accent
#8509DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795ED

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

Preview Lab → · Contrast checker → · Palette generator →

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