#5143CF#5143CF

#5143CF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.206 H 280.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5143CF
RGBrgb(81, 67, 207)
HSLhsl(246, 59%, 54%)
HSVhsv(246, 68%, 81%)
CMYKcmyk(60.9%, 67.6%, 0%, 18.8%)
CIE-LABlab(38.32, 45.69, -70.43)
CIE-LCHlch(38.32, 83.95, 302.97°)
OKLaboklab(48.77% 0.0358 -0.203)
OKLCHoklch(48.77% 0.206 280)
XYZxyz(16.6594, 10.2674, 60.1233)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143CF #C1CF43
analogous
#437BCF #5143CF #9743CF
triadic
#5143CF #CF5143 #43CF51
tetradic
#5143CF #CF437B #C1CF43 #43CF97
square
#5143CF #CF437B #C1CF43 #43CF97
split-complementary
#5143CF #CF9743 #7BCF43
monochromatic
#281F79 #382BAA #5143CF #7E74DB #ABA5E8

Accessibility & contrast

On white

6.88
#5143CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5143CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143CF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143CF#FFFFFF#000000##FFFFFF
##5143CF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5143cf;
/* rgb */ color: rgb(81, 67, 207);
/* oklch */ color: oklch(48.8% 0.206 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f78df',
    500: '#5143cf',
    950: '#000000',
  },
}
SCSS
$custom: #5143cf;
$custom-light: #8f78df;
$custom-dark: #000000;
JSON
{
  "hex": "#5143cf",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 246,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.20611,
    "h": 280
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#5143CF
secondary
#CFD599
accent
#E345D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143CF

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

Preview Lab → · Contrast checker → · Palette generator →

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