#5143CD#5143CD

#5143CD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.204 H 280.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5143CD
RGBrgb(81, 67, 205)
HSLhsl(246, 58%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.5%, 67.3%, 0%, 19.6%)
CIE-LABlab(38.15, 45.06, -69.55)
CIE-LCHlch(38.15, 82.88, 302.94°)
OKLaboklab(48.59% 0.0361 -0.2004)
OKLCHoklch(48.59% 0.204 280.2)
XYZxyz(16.4165, 10.1702, 58.8437)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143CD #BFCD43
analogous
#437ACD #5143CD #9643CD
triadic
#5143CD #CD5143 #43CD51
tetradic
#5143CD #CD437A #BFCD43 #43CD96
square
#5143CD #CD437A #BFCD43 #43CD96
split-complementary
#5143CD #CD9643 #7ACD43
monochromatic
#281F76 #392CA7 #5143CD #7E73DA #AAA4E7

Accessibility & contrast

On white

6.92
#5143CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5143CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143CD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143CD#FFFFFF#000000##FFFFFF
##5143CD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5143cd;
/* rgb */ color: rgb(81, 67, 205);
/* oklch */ color: oklch(48.6% 0.204 280.2);
Tailwind
colors: {
  custom: {
    50: '#8f78dd',
    500: '#5143cd',
    950: '#000000',
  },
}
SCSS
$custom: #5143cd;
$custom-light: #8f78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5143cd",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 246.087,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.20363,
    "h": 280.2
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#5143CD
secondary
#CED498
accent
#E147D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5143CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva