#5194F2#5194F2

#5194F2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.7% C 0.156 H 257.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5194F2
RGBrgb(81, 148, 242)
HSLhsl(215, 86%, 63%)
HSVhsv(215, 67%, 95%)
CMYKcmyk(66.5%, 38.8%, 0%, 5.1%)
CIE-LABlab(61.08, 8.22, -53.45)
CIE-LCHlch(61.08, 54.08, 278.74°)
OKLaboklab(66.66% -0.0345 -0.1522)
OKLCHoklch(66.66% 0.156 257.2)
XYZxyz(30.0045, 29.3369, 88.0685)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5194F2 #F2AF51
analogous
#51E4F2 #5194F2 #5E51F2
triadic
#5194F2 #F25194 #94F251
tetradic
#5194F2 #F251E4 #F2AF51 #51F25E
square
#5194F2 #F251E4 #F2AF51 #51F25E
split-complementary
#5194F2 #F25E51 #E4F251
monochromatic
#0E56BB #1871EE #5194F2 #8AB7F6 #C3DAFB

Accessibility & contrast

On white

3.06
#5194F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#5194F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5194F2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5194F2#FFFFFF#000000##000000
##5194F21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#518DF0
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5194f2;
/* rgb */ color: rgb(81, 148, 242);
/* oklch */ color: oklch(66.7% 0.156 257.2);
Tailwind
colors: {
  custom: {
    50: '#92b2f7',
    500: '#5194f2',
    950: '#000000',
  },
}
SCSS
$custom: #5194f2;
$custom-light: #92b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5194f2",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 215.031,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6666,
    "c": 0.15607,
    "h": 257.2
  },
  "luminance": 0.2934
}

Semantic roles & 50–950 ramp

primary
#5194F2
secondary
#ECD4B3
accent
#8603E3
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5194F2

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

Preview Lab → · Contrast checker → · Palette generator →

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