#5794F0#5794F0

#5794F0 is a light, vivid blue. Relative luminance 0.295; OKLCH L 66.8% C 0.151 H 258.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5794F0
RGBrgb(87, 148, 240)
HSLhsl(216, 84%, 64%)
HSVhsv(216, 64%, 94%)
CMYKcmyk(63.7%, 38.3%, 0%, 5.9%)
CIE-LABlab(61.22, 8.52, -52.12)
CIE-LCHlch(61.22, 52.81, 279.29°)
OKLaboklab(66.8% -0.0304 -0.1482)
OKLCHoklch(66.8% 0.151 258.4)
XYZxyz(30.2429, 29.4944, 86.5204)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794F0 #F0B357
analogous
#57E1F0 #5794F0 #6757F0
triadic
#5794F0 #F05794 #94F057
tetradic
#5794F0 #F057E1 #F0B357 #57F067
square
#5794F0 #F057E1 #F0B357 #57F067
split-complementary
#5794F0 #F06757 #E1F057
monochromatic
#1155BC #1F70EB #5794F0 #8FB8F5 #C7DCFA

Accessibility & contrast

On white

3.04
#5794F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5794F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794F0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794F0#FFFFFF#000000##000000
##5794F01.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF4
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5794f0;
/* rgb */ color: rgb(87, 148, 240);
/* oklch */ color: oklch(66.8% 0.151 258.4);
Tailwind
colors: {
  custom: {
    50: '#94b2f5',
    500: '#5794f0',
    950: '#000000',
  },
}
SCSS
$custom: #5794f0;
$custom-light: #94b2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5794f0",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 240
  },
  "hsl": {
    "h": 216.078,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.668,
    "c": 0.15129,
    "h": 258.4
  },
  "luminance": 0.29497
}

Semantic roles & 50–950 ramp

primary
#5794F0
secondary
#ECD7B7
accent
#8905E0
background
#F9FAFF
surface
#F2F5FE
border
#CCCFD6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794F0

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

Preview Lab → · Contrast checker → · Palette generator →

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