#5193F2#5193F2

#5193F2 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.4% C 0.157 H 257.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5193F2
RGBrgb(81, 147, 242)
HSLhsl(215, 86%, 63%)
HSVhsv(215, 67%, 95%)
CMYKcmyk(66.5%, 39.3%, 0%, 5.1%)
CIE-LABlab(60.80, 8.81, -53.89)
CIE-LCHlch(60.80, 54.60, 279.28°)
OKLaboklab(66.45% -0.0335 -0.1535)
OKLCHoklch(66.45% 0.157 257.7)
XYZxyz(29.8483, 29.0246, 88.0165)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5193F2 #F2B051
analogous
#51E3F2 #5193F2 #5F51F2
triadic
#5193F2 #F25193 #93F251
tetradic
#5193F2 #F251E3 #F2B051 #51F25F
square
#5193F2 #F251E3 #F2B051 #51F25F
split-complementary
#5193F2 #F25F51 #E3F251
monochromatic
#0E55BB #1870EE #5193F2 #8AB6F6 #C3DAFB

Accessibility & contrast

On white

3.09
#5193F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5193F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5193F2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5193F2#FFFFFF#000000##000000
##5193F21.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#00A9B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5193f2;
/* rgb */ color: rgb(81, 147, 242);
/* oklch */ color: oklch(66.4% 0.157 257.7);
Tailwind
colors: {
  custom: {
    50: '#92b2f7',
    500: '#5193f2',
    950: '#000000',
  },
}
SCSS
$custom: #5193f2;
$custom-light: #92b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5193f2",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 215.404,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66447,
    "c": 0.15713,
    "h": 257.7
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#5193F2
secondary
#ECD5B3
accent
#8703E3
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5193F2

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

Preview Lab → · Contrast checker → · Palette generator →

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