#5795EF#5795EF

#5795EF is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.0% C 0.149 H 257.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5795EF
RGBrgb(87, 149, 239)
HSLhsl(216, 83%, 64%)
HSVhsv(216, 64%, 94%)
CMYKcmyk(63.6%, 37.7%, 0%, 6.3%)
CIE-LABlab(61.44, 7.60, -51.21)
CIE-LCHlch(61.44, 51.77, 278.44°)
OKLaboklab(66.96% -0.0316 -0.1456)
OKLCHoklch(66.96% 0.149 257.8)
XYZxyz(30.2523, 29.7502, 85.7927)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795EF #EFB157
analogous
#57E1EF #5795EF #6557EF
triadic
#5795EF #EF5795 #95EF57
tetradic
#5795EF #EF57E1 #EFB157 #57EF65
square
#5795EF #EF57E1 #EFB157 #57EF65
split-complementary
#5795EF #EF6557 #E1EF57
monochromatic
#1256BA #1F72EA #5795EF #8FB8F4 #C7DCFA

Accessibility & contrast

On white

3.02
#5795EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#5795EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795EF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795EF#FFFFFF#000000##000000
##5795EF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5795ef;
/* rgb */ color: rgb(87, 149, 239);
/* oklch */ color: oklch(67.0% 0.149 257.8);
Tailwind
colors: {
  custom: {
    50: '#94b3f5',
    500: '#5795ef',
    950: '#000000',
  },
}
SCSS
$custom: #5795ef;
$custom-light: #94b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ef",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 215.526,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.14894,
    "h": 257.8
  },
  "luminance": 0.29753
}

Semantic roles & 50–950 ramp

primary
#5795EF
secondary
#ECD6B6
accent
#8706DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5795EF

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

Preview Lab → · Contrast checker → · Palette generator →

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