#5167CA#5167CA

#5167CA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.8% C 0.155 H 271.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5167CA
RGBrgb(81, 103, 202)
HSLhsl(229, 53%, 55%)
HSVhsv(229, 60%, 79%)
CMYKcmyk(59.9%, 49%, 0%, 20.8%)
CIE-LABlab(46.60, 22.04, -54.11)
CIE-LCHlch(46.60, 58.43, 292.16°)
OKLaboklab(54.78% 0.0029 -0.1547)
OKLCHoklch(54.78% 0.155 271.1)
XYZxyz(18.9007, 15.7126, 57.9025)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167CA #CAB451
analogous
#51A3CA #5167CA #7751CA
triadic
#5167CA #CA5167 #67CA51
tetradic
#5167CA #CA51A3 #CAB451 #51CA77
square
#5167CA #CA51A3 #CAB451 #51CA77
split-complementary
#5167CA #CA7751 #A3CA51
monochromatic
#25357B #3449AA #5167CA #8090D8 #AFB9E7

Accessibility & contrast

On white

5.07
#5167CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5167CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167CA#FFFFFF#000000##FFFFFF
##5167CA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5167ca;
/* rgb */ color: rgb(81, 103, 202);
/* oklch */ color: oklch(54.8% 0.155 271.1);
Tailwind
colors: {
  custom: {
    50: '#8c92db',
    500: '#5167ca',
    950: '#000000',
  },
}
SCSS
$custom: #5167ca;
$custom-light: #8c92db;
$custom-dark: #000000;
JSON
{
  "hex": "#5167ca",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 229.091,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.15478,
    "h": 271.1
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#5167CA
secondary
#D5CBA2
accent
#C24BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167CA

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

Preview Lab → · Contrast checker → · Palette generator →

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