#5191F2#5191F2

#5191F2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.0% C 0.159 H 258.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5191F2
RGBrgb(81, 145, 242)
HSLhsl(216, 86%, 63%)
HSVhsv(216, 67%, 95%)
CMYKcmyk(66.5%, 40.1%, 0%, 5.1%)
CIE-LABlab(60.26, 10.00, -54.76)
CIE-LCHlch(60.26, 55.67, 280.34°)
OKLaboklab(66.02% -0.0316 -0.1561)
OKLCHoklch(66.02% 0.159 258.5)
XYZxyz(29.5400, 28.4080, 87.9137)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191F2 #F2B251
analogous
#51E1F2 #5191F2 #6151F2
triadic
#5191F2 #F25191 #91F251
tetradic
#5191F2 #F251E1 #F2B251 #51F261
square
#5191F2 #F251E1 #F2B251 #51F261
split-complementary
#5191F2 #F26151 #E1F251
monochromatic
#0E53BB #186DEE #5191F2 #8AB5F6 #C3D9FB

Accessibility & contrast

On white

3.14
#5191F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5191F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191F2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191F2#FFFFFF#000000##000000
##5191F21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A7B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5191f2;
/* rgb */ color: rgb(81, 145, 242);
/* oklch */ color: oklch(66.0% 0.159 258.5);
Tailwind
colors: {
  custom: {
    50: '#92b0f7',
    500: '#5191f2',
    950: '#000000',
  },
}
SCSS
$custom: #5191f2;
$custom-light: #92b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5191f2",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 216.149,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66022,
    "c": 0.15927,
    "h": 258.5
  },
  "luminance": 0.28411
}

Semantic roles & 50–950 ramp

primary
#5191F2
secondary
#ECD5B3
accent
#8A03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5191F2

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

Preview Lab → · Contrast checker → · Palette generator →

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