#5191F6#5191F6

#5191F6 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.3% C 0.164 H 259.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5191F6
RGBrgb(81, 145, 246)
HSLhsl(217, 90%, 64%)
HSVhsv(217, 67%, 96%)
CMYKcmyk(67.1%, 41.1%, 0%, 3.5%)
CIE-LABlab(60.47, 11.37, -56.62)
CIE-LCHlch(60.47, 57.75, 281.35°)
OKLaboklab(66.26% -0.0308 -0.1615)
OKLCHoklch(66.26% 0.164 259.2)
XYZxyz(30.1473, 28.6509, 91.1123)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191F6 #F6B651
analogous
#51E4F6 #5191F6 #6451F6
triadic
#5191F6 #F65191 #91F651
tetradic
#5191F6 #F651E4 #F6B651 #51F664
square
#5191F6 #F651E4 #F6B651 #51F664
split-complementary
#5191F6 #F66451 #E4F651
monochromatic
#0A52C3 #176CF3 #5191F6 #8BB6F9 #C5DBFC

Accessibility & contrast

On white

3.12
#5191F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5191F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191F6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191F6#FFFFFF#000000##000000
##5191F61.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5191f6;
/* rgb */ color: rgb(81, 145, 246);
/* oklch */ color: oklch(66.3% 0.164 259.2);
Tailwind
colors: {
  custom: {
    50: '#92b0fa',
    500: '#5191f6',
    950: '#000000',
  },
}
SCSS
$custom: #5191f6;
$custom-light: #92b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5191f6",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 246
  },
  "hsl": {
    "h": 216.727,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6626,
    "c": 0.16446,
    "h": 259.2
  },
  "luminance": 0.28654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5191F6

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

Preview Lab → · Contrast checker → · Palette generator →

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