#5191F3#5191F3

#5191F3 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.161 H 258.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5191F3
RGBrgb(81, 145, 243)
HSLhsl(216, 87%, 64%)
HSVhsv(216, 67%, 95%)
CMYKcmyk(66.7%, 40.3%, 0%, 4.7%)
CIE-LABlab(60.31, 10.34, -55.23)
CIE-LCHlch(60.31, 56.19, 280.60°)
OKLaboklab(66.08% -0.0314 -0.1575)
OKLCHoklch(66.08% 0.161 258.7)
XYZxyz(29.6906, 28.4682, 88.7068)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191F3 #F3B351
analogous
#51E2F3 #5191F3 #6251F3
triadic
#5191F3 #F35191 #91F351
tetradic
#5191F3 #F351E2 #F3B351 #51F362
square
#5191F3 #F351E2 #F3B351 #51F362
split-complementary
#5191F3 #F36251 #E2F351
monochromatic
#0D52BD #186DEF #5191F3 #8AB5F7 #C4D9FB

Accessibility & contrast

On white

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

On black

6.69
#5191F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191F3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191F3#FFFFFF#000000##000000
##5191F31.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#4B8AF1
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5191f3;
/* rgb */ color: rgb(81, 145, 243);
/* oklch */ color: oklch(66.1% 0.161 258.7);
Tailwind
colors: {
  custom: {
    50: '#92b0f7',
    500: '#5191f3',
    950: '#000000',
  },
}
SCSS
$custom: #5191f3;
$custom-light: #92b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5191f3",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 243
  },
  "hsl": {
    "h": 216.296,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66081,
    "c": 0.16057,
    "h": 258.7
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#5191F3
secondary
#EDD6B3
accent
#8A02E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5191F3

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

Preview Lab → · Contrast checker → · Palette generator →

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