#5796FF#5796FF

#5796FF is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.1% C 0.169 H 260.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5796FF
RGBrgb(87, 150, 255)
HSLhsl(218, 100%, 67%)
HSVhsv(218, 66%, 100%)
CMYKcmyk(65.9%, 41.2%, 0%, 0%)
CIE-LABlab(62.55, 12.40, -58.22)
CIE-LCHlch(62.55, 59.52, 282.02°)
OKLaboklab(68.1% -0.0292 -0.1661)
OKLCHoklch(68.1% 0.169 260)
XYZxyz(32.8804, 31.0557, 98.8499)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796FF #FFC057
analogous
#57EAFF #5796FF #6C57FF
triadic
#5796FF #FF5796 #96FF57
tetradic
#5796FF #FF57EA #FFC057 #57FF6C
square
#5796FF #FF57EA #FFC057 #57FF6C
split-complementary
#5796FF #FF6C57 #EAFF57
monochromatic
#0052DC #1A70FF #5796FF #94BCFF #D1E3FF

Accessibility & contrast

On white

2.91
#5796FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5796FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5796FF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796FF#FFFFFF#000000##000000
##5796FF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#4B90FD
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5796ff;
/* rgb */ color: rgb(87, 150, 255);
/* oklch */ color: oklch(68.1% 0.169 260.0);
Tailwind
colors: {
  custom: {
    50: '#96b4ff',
    500: '#5796ff',
    950: '#000000',
  },
}
SCSS
$custom: #5796ff;
$custom-light: #96b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5796ff",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 217.5,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.16862,
    "h": 260
  },
  "luminance": 0.31059
}

Semantic roles & 50–950 ramp

primary
#5796FF
secondary
#F4E0BE
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5796FF

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

Preview Lab → · Contrast checker → · Palette generator →

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