#5195FF#5195FF

#5195FF is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.172 H 259.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5195FF
RGBrgb(81, 149, 255)
HSLhsl(217, 100%, 66%)
HSVhsv(217, 68%, 100%)
CMYKcmyk(68.2%, 41.6%, 0%, 0%)
CIE-LABlab(62.05, 12.08, -59.04)
CIE-LCHlch(62.05, 60.26, 281.56°)
OKLaboklab(67.64% -0.0327 -0.1686)
OKLCHoklch(67.64% 0.172 259)
XYZxyz(32.1843, 30.4609, 98.7717)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195FF #FFBB51
analogous
#51ECFF #5195FF #6451FF
triadic
#5195FF #FF5195 #95FF51
tetradic
#5195FF #FF51EC #FFBB51 #51FF64
square
#5195FF #FF51EC #FFBB51 #51FF64
split-complementary
#5195FF #FF6451 #ECFF51
monochromatic
#0053D6 #1470FF #5195FF #8EBAFF #CBE0FF

Accessibility & contrast

On white

2.96
#5195FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5195FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5195FF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195FF#FFFFFF#000000##000000
##5195FF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#468EFD
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5195ff;
/* rgb */ color: rgb(81, 149, 255);
/* oklch */ color: oklch(67.6% 0.172 259.0);
Tailwind
colors: {
  custom: {
    50: '#94b3ff',
    500: '#5195ff',
    950: '#000000',
  },
}
SCSS
$custom: #5195ff;
$custom-light: #94b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5195ff",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 216.552,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67641,
    "c": 0.17174,
    "h": 259
  },
  "luminance": 0.30464
}

Semantic roles & 50–950 ramp

primary
#5195FF
secondary
#F3DCB9
accent
#8C00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5195FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5195FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva