#5792F4#5792F4

#5792F4 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.6% C 0.159 H 260.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5792F4
RGBrgb(87, 146, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(64.3%, 40.2%, 0%, 4.3%)
CIE-LABlab(60.88, 11.05, -54.85)
CIE-LCHlch(60.88, 55.95, 281.39°)
OKLaboklab(66.61% -0.0276 -0.1562)
OKLCHoklch(66.61% 0.159 260)
XYZxyz(30.5327, 29.1127, 89.5807)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792F4 #F4B957
analogous
#57E1F4 #5792F4 #6A57F4
triadic
#5792F4 #F45792 #92F457
tetradic
#5792F4 #F457E1 #F4B957 #57F46A
square
#5792F4 #F457E1 #F4B957 #57F46A
split-complementary
#5792F4 #F46A57 #E1F457
monochromatic
#0D52C4 #1E6DF0 #5792F4 #90B7F8 #CADDFC

Accessibility & contrast

On white

3.08
#5792F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5792F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792F4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792F4#FFFFFF#000000##000000
##5792F41.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5792f4;
/* rgb */ color: rgb(87, 146, 244);
/* oklch */ color: oklch(66.6% 0.159 260.0);
Tailwind
colors: {
  custom: {
    50: '#95b1f8',
    500: '#5792f4',
    950: '#000000',
  },
}
SCSS
$custom: #5792f4;
$custom-light: #95b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5792f4",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 244
  },
  "hsl": {
    "h": 217.452,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66609,
    "c": 0.15866,
    "h": 260
  },
  "luminance": 0.29116
}

Semantic roles & 50–950 ramp

primary
#5792F4
secondary
#EEDAB9
accent
#8F01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5792F4

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

Preview Lab → · Contrast checker → · Palette generator →

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