#5794FA#5794FA

#5794FA is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.4% C 0.164 H 260.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5794FA
RGBrgb(87, 148, 250)
HSLhsl(218, 94%, 66%)
HSVhsv(218, 65%, 98%)
CMYKcmyk(65.2%, 40.8%, 0%, 2%)
CIE-LABlab(61.74, 11.89, -56.77)
CIE-LCHlch(61.74, 58.00, 281.83°)
OKLaboklab(67.38% -0.0283 -0.1619)
OKLCHoklch(67.38% 0.164 260.1)
XYZxyz(31.7696, 30.1051, 94.5605)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794FA #FABD57
analogous
#57E5FA #5794FA #6B57FA
triadic
#5794FA #FA5794 #94FA57
tetradic
#5794FA #FA57E5 #FABD57 #57FA6B
square
#5794FA #FA57E5 #FABD57 #57FA6B
split-complementary
#5794FA #FA6B57 #E5FA57
monochromatic
#0652D0 #1C6EF8 #5794FA #92BAFC #CEE0FE

Accessibility & contrast

On white

2.99
#5794FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5794FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5794FA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794FA#FFFFFF#000000##000000
##5794FA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#00ABBB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5794fa;
/* rgb */ color: rgb(87, 148, 250);
/* oklch */ color: oklch(67.4% 0.164 260.1);
Tailwind
colors: {
  custom: {
    50: '#96b2fc',
    500: '#5794fa',
    950: '#000000',
  },
}
SCSS
$custom: #5794fa;
$custom-light: #96b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5794fa",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 217.546,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.16431,
    "h": 260.1
  },
  "luminance": 0.30108
}

Semantic roles & 50–950 ramp

primary
#5794FA
secondary
#F1DDBC
accent
#9000E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5794FA

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

Preview Lab → · Contrast checker → · Palette generator →

#5794FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva