#5143D2#5143D2

#5143D2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.210 H 279.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5143D2
RGBrgb(81, 67, 210)
HSLhsl(246, 61%, 54%)
HSVhsv(246, 68%, 82%)
CMYKcmyk(61.4%, 68.1%, 0%, 17.6%)
CIE-LABlab(38.58, 46.63, -71.74)
CIE-LCHlch(38.58, 85.56, 303.02°)
OKLaboklab(49.03% 0.0354 -0.2068)
OKLCHoklch(49.03% 0.21 279.7)
XYZxyz(17.0297, 10.4155, 62.0733)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143D2 #C4D243
analogous
#437DD2 #5143D2 #9943D2
triadic
#5143D2 #D25143 #43D251
tetradic
#5143D2 #D2437D #C4D243 #43D299
square
#5143D2 #D2437D #C4D243 #43D299
split-complementary
#5143D2 #D29943 #7DD243
monochromatic
#271E7D #372AAE #5143D2 #7F74DE #ACA6EA

Accessibility & contrast

On white

6.81
#5143D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5143D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143D2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143D2#FFFFFF#000000##FFFFFF
##5143D21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5143d2;
/* rgb */ color: rgb(81, 67, 210);
/* oklch */ color: oklch(49.0% 0.210 279.7);
Tailwind
colors: {
  custom: {
    50: '#9079e1',
    500: '#5143d2',
    950: '#000000',
  },
}
SCSS
$custom: #5143d2;
$custom-light: #9079e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5143d2",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 245.874,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.20981,
    "h": 279.7
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#5143D2
secondary
#D1D79A
accent
#E443D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143D2

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

Preview Lab → · Contrast checker → · Palette generator →

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