#5167F2#5167F2

#5167F2 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.7% C 0.208 H 271.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5167F2
RGBrgb(81, 103, 242)
HSLhsl(232, 86%, 63%)
HSVhsv(232, 67%, 95%)
CMYKcmyk(66.5%, 57.4%, 0%, 5.1%)
CIE-LABlab(49.32, 35.62, -72.36)
CIE-LCHlch(49.32, 80.65, 296.21°)
OKLaboklab(57.7% 0.0052 -0.2084)
OKLCHoklch(57.7% 0.208 271.4)
XYZxyz(24.2652, 17.8584, 86.1554)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167F2 #F2DC51
analogous
#51B7F2 #5167F2 #8B51F2
triadic
#5167F2 #F25167 #67F251
tetradic
#5167F2 #F251B7 #F2DC51 #51F28B
square
#5167F2 #F251B7 #F2DC51 #51F28B
split-complementary
#5167F2 #F28B51 #B7F251
monochromatic
#0E26BB #1835EE #5167F2 #8A99F6 #C3CAFB

Accessibility & contrast

On white

4.59
#5167F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5167F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5167F2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167F2#FFFFFF#000000##FFFFFF
##5167F21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0089A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5167f2;
/* rgb */ color: rgb(81, 103, 242);
/* oklch */ color: oklch(57.7% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#9392f7',
    500: '#5167f2',
    950: '#000000',
  },
}
SCSS
$custom: #5167f2;
$custom-light: #9392f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5167f2",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 231.801,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.577,
    "c": 0.20849,
    "h": 271.4
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#5167F2
secondary
#ECE4B3
accent
#C403E3
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0D17
muted
#7E7D85

Preview Lab

Preview with #5167F2

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

Preview Lab → · Contrast checker → · Palette generator →

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