#5792EF#5792EF

#5792EF is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.3% C 0.152 H 259.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5792EF
RGBrgb(87, 146, 239)
HSLhsl(217, 83%, 64%)
HSVhsv(217, 64%, 94%)
CMYKcmyk(63.6%, 38.9%, 0%, 6.3%)
CIE-LABlab(60.62, 9.37, -52.52)
CIE-LCHlch(60.62, 53.35, 280.12°)
OKLaboklab(66.32% -0.0286 -0.1494)
OKLCHoklch(66.32% 0.152 259.2)
XYZxyz(29.7838, 28.8132, 85.6365)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792EF #EFB457
analogous
#57DEEF #5792EF #6857EF
triadic
#5792EF #EF5792 #92EF57
tetradic
#5792EF #EF57DE #EFB457 #57EF68
square
#5792EF #EF57DE #EFB457 #57EF68
split-complementary
#5792EF #EF6857 #DEEF57
monochromatic
#1253BA #1F6EEA #5792EF #8FB6F4 #C7DBFA

Accessibility & contrast

On white

3.11
#5792EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5792EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792EF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792EF#FFFFFF#000000##000000
##5792EF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#538CED
Tritanopia (blue-blind)
#00A7B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5792ef;
/* rgb */ color: rgb(87, 146, 239);
/* oklch */ color: oklch(66.3% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#94b1f5',
    500: '#5792ef',
    950: '#000000',
  },
}
SCSS
$custom: #5792ef;
$custom-light: #94b1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5792ef",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 216.711,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66318,
    "c": 0.15213,
    "h": 259.2
  },
  "luminance": 0.28816
}

Semantic roles & 50–950 ramp

primary
#5792EF
secondary
#ECD7B6
accent
#8B06DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5792EF

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

Preview Lab → · Contrast checker → · Palette generator →

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