#5190F6#5190F6

#5190F6 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.0% C 0.166 H 259.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5190F6
RGBrgb(81, 144, 246)
HSLhsl(217, 90%, 64%)
HSVhsv(217, 67%, 96%)
CMYKcmyk(67.1%, 41.5%, 0%, 3.5%)
CIE-LABlab(60.20, 11.96, -57.05)
CIE-LCHlch(60.20, 58.29, 281.84°)
OKLaboklab(66.05% -0.0299 -0.1628)
OKLCHoklch(66.05% 0.166 259.6)
XYZxyz(29.9952, 28.3466, 91.0616)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5190F6 #F6B751
analogous
#51E3F6 #5190F6 #6551F6
triadic
#5190F6 #F65190 #90F651
tetradic
#5190F6 #F651E3 #F6B751 #51F665
square
#5190F6 #F651E3 #F6B751 #51F665
split-complementary
#5190F6 #F66551 #E3F651
monochromatic
#0A50C3 #176BF3 #5190F6 #8BB5F9 #C5DAFC

Accessibility & contrast

On white

3.15
#5190F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5190F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5190F6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5190F6#FFFFFF#000000##000000
##5190F61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5190f6;
/* rgb */ color: rgb(81, 144, 246);
/* oklch */ color: oklch(66.0% 0.166 259.6);
Tailwind
colors: {
  custom: {
    50: '#92b0fa',
    500: '#5190f6',
    950: '#000000',
  },
}
SCSS
$custom: #5190f6;
$custom-light: #92b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5190f6",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 246
  },
  "hsl": {
    "h": 217.091,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.16556,
    "h": 259.6
  },
  "luminance": 0.2835
}

Semantic roles & 50–950 ramp

primary
#5190F6
secondary
#EED8B5
accent
#8E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5190F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5190F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva