#5176F0#5176F0

#5176F0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.188 H 267.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5176F0
RGBrgb(81, 118, 240)
HSLhsl(226, 84%, 63%)
HSVhsv(226, 66%, 94%)
CMYKcmyk(66.3%, 50.8%, 0%, 5.9%)
CIE-LABlab(52.94, 25.71, -65.38)
CIE-LCHlch(52.94, 70.25, 291.47°)
OKLaboklab(60.38% -0.0074 -0.1877)
OKLCHoklch(60.38% 0.188 267.7)
XYZxyz(25.5945, 20.9950, 85.1248)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176F0 #F0CB51
analogous
#51C5F0 #5176F0 #7C51F0
triadic
#5176F0 #F05176 #76F051
tetradic
#5176F0 #F051C5 #F0CB51 #51F07C
square
#5176F0 #F051C5 #F0CB51 #51F07C
split-complementary
#5176F0 #F07C51 #C5F051
monochromatic
#1037B7 #194AEB #5176F0 #89A2F5 #C2CFFA

Accessibility & contrast

On white

4.04
#5176F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5176F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176F0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176F0#FFFFFF#000000##000000
##5176F01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F4
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5176f0;
/* rgb */ color: rgb(81, 118, 240);
/* oklch */ color: oklch(60.4% 0.188 267.7);
Tailwind
colors: {
  custom: {
    50: '#929df6',
    500: '#5176f0',
    950: '#000000',
  },
}
SCSS
$custom: #5176f0;
$custom-light: #929df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5176f0",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 226.038,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.18784,
    "h": 267.7
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#5176F0
secondary
#EBDEB2
accent
#AD05E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5176F0

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

Preview Lab → · Contrast checker → · Palette generator →

#5176F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva