#5143CC#5143CC

#5143CC is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.202 H 280.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5143CC
RGBrgb(81, 67, 204)
HSLhsl(246, 57%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.3%, 67.2%, 0%, 20%)
CIE-LABlab(38.06, 44.75, -69.11)
CIE-LCHlch(38.06, 82.34, 302.92°)
OKLaboklab(48.5% 0.0363 -0.1991)
OKLCHoklch(48.5% 0.202 280.3)
XYZxyz(16.2961, 10.1221, 58.2101)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143CC #BECC43
analogous
#437ACC #5143CC #9543CC
triadic
#5143CC #CC5143 #43CC51
tetradic
#5143CC #CC437A #BECC43 #43CC95
square
#5143CC #CC437A #BECC43 #43CC95
split-complementary
#5143CC #CC9543 #7ACC43
monochromatic
#282075 #392DA5 #5143CC #7E73D9 #AAA3E6

Accessibility & contrast

On white

6.94
#5143CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5143CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143CC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143CC#FFFFFF#000000##FFFFFF
##5143CC1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5143cc;
/* rgb */ color: rgb(81, 67, 204);
/* oklch */ color: oklch(48.5% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#8f78dd',
    500: '#5143cc',
    950: '#000000',
  },
}
SCSS
$custom: #5143cc;
$custom-light: #8f78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5143cc",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 246.131,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.20238,
    "h": 280.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#5143CC
secondary
#CDD398
accent
#E147D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143CC

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

Preview Lab → · Contrast checker → · Palette generator →

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