#5792F2#5792F2

#5792F2 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.5% C 0.156 H 259.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5792F2
RGBrgb(87, 146, 242)
HSLhsl(217, 86%, 65%)
HSVhsv(217, 64%, 95%)
CMYKcmyk(64%, 39.7%, 0%, 5.1%)
CIE-LABlab(60.77, 10.38, -53.92)
CIE-LCHlch(60.77, 54.91, 280.89°)
OKLaboklab(66.49% -0.028 -0.1535)
OKLCHoklch(66.49% 0.156 259.7)
XYZxyz(30.2307, 28.9919, 87.9900)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792F2 #F2B757
analogous
#57E0F2 #5792F2 #6A57F2
triadic
#5792F2 #F25792 #92F257
tetradic
#5792F2 #F257E0 #F2B757 #57F26A
square
#5792F2 #F257E0 #F2B757 #57F26A
split-complementary
#5792F2 #F26A57 #E0F257
monochromatic
#0F52C0 #1E6DEE #5792F2 #90B7F6 #C9DCFB

Accessibility & contrast

On white

3.09
#5792F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5792F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792F2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792F2#FFFFFF#000000##000000
##5792F21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5792f2;
/* rgb */ color: rgb(87, 146, 242);
/* oklch */ color: oklch(66.5% 0.156 259.7);
Tailwind
colors: {
  custom: {
    50: '#94b1f7',
    500: '#5792f2',
    950: '#000000',
  },
}
SCSS
$custom: #5792f2;
$custom-light: #94b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5792f2",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 217.161,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66492,
    "c": 0.15605,
    "h": 259.7
  },
  "luminance": 0.28995
}

Semantic roles & 50–950 ramp

primary
#5792F2
secondary
#EDD9B8
accent
#8D03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5792F2

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

Preview Lab → · Contrast checker → · Palette generator →

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