#5190F2#5190F2

#5190F2 is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.8% C 0.160 H 259.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5190F2
RGBrgb(81, 144, 242)
HSLhsl(217, 86%, 63%)
HSVhsv(217, 67%, 95%)
CMYKcmyk(66.5%, 40.5%, 0%, 5.1%)
CIE-LABlab(59.98, 10.59, -55.20)
CIE-LCHlch(59.98, 56.20, 280.86°)
OKLaboklab(65.81% -0.0307 -0.1574)
OKLCHoklch(65.81% 0.16 259)
XYZxyz(29.3879, 28.1037, 87.8630)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5190F2 #F2B351
analogous
#51E0F2 #5190F2 #6251F2
triadic
#5190F2 #F25190 #90F251
tetradic
#5190F2 #F251E0 #F2B351 #51F262
square
#5190F2 #F251E0 #F2B351 #51F262
split-complementary
#5190F2 #F26251 #E0F251
monochromatic
#0E52BB #186CEE #5190F2 #8AB4F6 #C3D9FB

Accessibility & contrast

On white

3.17
#5190F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5190F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5190F2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5190F2#FFFFFF#000000##000000
##5190F21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#00A7B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5190f2;
/* rgb */ color: rgb(81, 144, 242);
/* oklch */ color: oklch(65.8% 0.160 259.0);
Tailwind
colors: {
  custom: {
    50: '#92b0f7',
    500: '#5190f2',
    950: '#000000',
  },
}
SCSS
$custom: #5190f2;
$custom-light: #92b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5190f2",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 216.522,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.16035,
    "h": 259
  },
  "luminance": 0.28107
}

Semantic roles & 50–950 ramp

primary
#5190F2
secondary
#ECD6B3
accent
#8B03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5190F2

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

Preview Lab → · Contrast checker → · Palette generator →

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