#5143CE#5143CE

#5143CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.205 H 280.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5143CE
RGBrgb(81, 67, 206)
HSLhsl(246, 59%, 54%)
HSVhsv(246, 67%, 81%)
CMYKcmyk(60.7%, 67.5%, 0%, 19.2%)
CIE-LABlab(38.23, 45.38, -69.99)
CIE-LCHlch(38.23, 83.41, 302.96°)
OKLaboklab(48.68% 0.036 -0.2017)
OKLCHoklch(48.68% 0.205 280.1)
XYZxyz(16.5375, 10.2187, 59.4815)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143CE #C0CE43
analogous
#437ACE #5143CE #9643CE
triadic
#5143CE #CE5143 #43CE51
tetradic
#5143CE #CE437A #C0CE43 #43CE96
square
#5143CE #CE437A #C0CE43 #43CE96
split-complementary
#5143CE #CE9643 #7ACE43
monochromatic
#281F77 #382CA8 #5143CE #7E74DB #ABA4E7

Accessibility & contrast

On white

6.90
#5143CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5143CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143CE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143CE#FFFFFF#000000##FFFFFF
##5143CE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5143ce;
/* rgb */ color: rgb(81, 67, 206);
/* oklch */ color: oklch(48.7% 0.205 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f78de',
    500: '#5143ce',
    950: '#000000',
  },
}
SCSS
$custom: #5143ce;
$custom-light: #8f78de;
$custom-dark: #000000;
JSON
{
  "hex": "#5143ce",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 246.043,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.20487,
    "h": 280.1
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#5143CE
secondary
#CED499
accent
#E246D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143CE

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

Preview Lab → · Contrast checker → · Palette generator →

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