#5193F6#5193F6

#5193F6 is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.7% C 0.162 H 258.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5193F6
RGBrgb(81, 147, 246)
HSLhsl(216, 90%, 64%)
HSVhsv(216, 67%, 96%)
CMYKcmyk(67.1%, 40.2%, 0%, 3.5%)
CIE-LABlab(61.02, 10.18, -55.75)
CIE-LCHlch(61.02, 56.67, 280.35°)
OKLaboklab(66.68% -0.0327 -0.159)
OKLCHoklch(66.68% 0.162 258.4)
XYZxyz(30.4556, 29.2675, 91.2151)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5193F6 #F6B451
analogous
#51E6F6 #5193F6 #6251F6
triadic
#5193F6 #F65193 #93F651
tetradic
#5193F6 #F651E6 #F6B451 #51F662
square
#5193F6 #F651E6 #F6B451 #51F662
split-complementary
#5193F6 #F66251 #E6F651
monochromatic
#0A54C3 #176FF3 #5193F6 #8BB7F9 #C5DBFC

Accessibility & contrast

On white

3.06
#5193F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5193F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5193F6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5193F6#FFFFFF#000000##000000
##5193F61.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFA
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5193f6;
/* rgb */ color: rgb(81, 147, 246);
/* oklch */ color: oklch(66.7% 0.162 258.4);
Tailwind
colors: {
  custom: {
    50: '#92b2fa',
    500: '#5193f6',
    950: '#000000',
  },
}
SCSS
$custom: #5193f6;
$custom-light: #92b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5193f6",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 246
  },
  "hsl": {
    "h": 216,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66682,
    "c": 0.1623,
    "h": 258.4
  },
  "luminance": 0.29271
}

Semantic roles & 50–950 ramp

primary
#5193F6
secondary
#EED7B5
accent
#8A00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5193F6

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

Preview Lab → · Contrast checker → · Palette generator →

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