#5195FB#5195FB

#5195FB is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.4% C 0.167 H 258.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5195FB
RGBrgb(81, 149, 251)
HSLhsl(216, 96%, 65%)
HSVhsv(216, 68%, 98%)
CMYKcmyk(67.7%, 40.6%, 0%, 1.6%)
CIE-LABlab(61.83, 10.71, -57.20)
CIE-LCHlch(61.83, 58.19, 280.60°)
OKLaboklab(67.4% -0.0335 -0.1632)
OKLCHoklch(67.4% 0.167 258.4)
XYZxyz(31.5471, 30.2060, 95.4159)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195FB #FBB751
analogous
#51EAFB #5195FB #6251FB
triadic
#5195FB #FB5195 #95FB51
tetradic
#5195FB #FB51EA #FBB751 #51FB62
square
#5195FB #FB51EA #FBB751 #51FB62
split-complementary
#5195FB #FB6251 #EAFB51
monochromatic
#0555CD #1571FA #5195FB #8DB9FC #C9DEFE

Accessibility & contrast

On white

2.98
#5195FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5195FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5195FB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195FB#FFFFFF#000000##000000
##5195FB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5195fb;
/* rgb */ color: rgb(81, 149, 251);
/* oklch */ color: oklch(67.4% 0.167 258.4);
Tailwind
colors: {
  custom: {
    50: '#93b3fd',
    500: '#5195fb',
    950: '#000000',
  },
}
SCSS
$custom: #5195fb;
$custom-light: #93b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5195fb",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 216,
    "s": 95.506,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67401,
    "c": 0.16659,
    "h": 258.4
  },
  "luminance": 0.30209
}

Semantic roles & 50–950 ramp

primary
#5195FB
secondary
#F1DAB7
accent
#8A00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1118
muted
#7E8086

Preview Lab

Preview with #5195FB

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

Preview Lab → · Contrast checker → · Palette generator →

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