#5796EF#5796EF

#5796EF is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.2% C 0.148 H 257.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5796EF
RGBrgb(87, 150, 239)
HSLhsl(215, 83%, 64%)
HSVhsv(215, 64%, 94%)
CMYKcmyk(63.6%, 37.2%, 0%, 6.3%)
CIE-LABlab(61.71, 7.01, -50.78)
CIE-LCHlch(61.71, 51.26, 277.86°)
OKLaboklab(67.17% -0.0326 -0.1443)
OKLCHoklch(67.17% 0.148 257.3)
XYZxyz(30.4112, 30.0680, 85.8457)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796EF #EFB057
analogous
#57E2EF #5796EF #6457EF
triadic
#5796EF #EF5796 #96EF57
tetradic
#5796EF #EF57E2 #EFB057 #57EF64
square
#5796EF #EF57E2 #EFB057 #57EF64
split-complementary
#5796EF #EF6457 #E2EF57
monochromatic
#1257BA #1F73EA #5796EF #8FB9F4 #C7DCFA

Accessibility & contrast

On white

2.99
#5796EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#5796EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5796EF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796EF#FFFFFF#000000##000000
##5796EF1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#598FED
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5796ef;
/* rgb */ color: rgb(87, 150, 239);
/* oklch */ color: oklch(67.2% 0.148 257.3);
Tailwind
colors: {
  custom: {
    50: '#94b4f4',
    500: '#5796ef',
    950: '#000000',
  },
}
SCSS
$custom: #5796ef;
$custom-light: #94b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5796ef",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 215.132,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6717,
    "c": 0.14789,
    "h": 257.3
  },
  "luminance": 0.30071
}

Semantic roles & 50–950 ramp

primary
#5796EF
secondary
#ECD5B6
accent
#8506DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5796EF

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

Preview Lab → · Contrast checker → · Palette generator →

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