#5792F3#5792F3

#5792F3 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.5% C 0.157 H 259.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5792F3
RGBrgb(87, 146, 243)
HSLhsl(217, 87%, 65%)
HSVhsv(217, 64%, 95%)
CMYKcmyk(64.2%, 39.9%, 0%, 4.7%)
CIE-LABlab(60.83, 10.71, -54.39)
CIE-LCHlch(60.83, 55.43, 281.15°)
OKLaboklab(66.55% -0.0278 -0.1549)
OKLCHoklch(66.55% 0.157 259.8)
XYZxyz(30.3813, 29.0522, 88.7832)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792F3 #F3B857
analogous
#57E0F3 #5792F3 #6A57F3
triadic
#5792F3 #F35792 #92F357
tetradic
#5792F3 #F357E0 #F3B857 #57F36A
square
#5792F3 #F357E0 #F3B857 #57F36A
split-complementary
#5792F3 #F36A57 #E0F357
monochromatic
#0E52C2 #1E6DEF #5792F3 #90B7F7 #C9DCFB

Accessibility & contrast

On white

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

On black

6.81
#5792F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792F3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792F3#FFFFFF#000000##000000
##5792F31.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5792f3;
/* rgb */ color: rgb(87, 146, 243);
/* oklch */ color: oklch(66.5% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#94b1f7',
    500: '#5792f3',
    950: '#000000',
  },
}
SCSS
$custom: #5792f3;
$custom-light: #94b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5792f3",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 243
  },
  "hsl": {
    "h": 217.308,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6655,
    "c": 0.15736,
    "h": 259.8
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#5792F3
secondary
#EED9B8
accent
#8E02E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5792F3

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

Preview Lab → · Contrast checker → · Palette generator →

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