#5143D3#5143D3

#5143D3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.211 H 279.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5143D3
RGBrgb(81, 67, 211)
HSLhsl(246, 62%, 55%)
HSVhsv(246, 68%, 83%)
CMYKcmyk(61.6%, 68.2%, 0%, 17.3%)
CIE-LABlab(38.67, 46.94, -72.17)
CIE-LCHlch(38.67, 86.09, 303.04°)
OKLaboklab(49.12% 0.0353 -0.2081)
OKLCHoklch(49.12% 0.211 279.6)
XYZxyz(17.1546, 10.4655, 62.7314)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143D3 #C5D343
analogous
#437DD3 #5143D3 #9943D3
triadic
#5143D3 #D35143 #43D351
tetradic
#5143D3 #D3437D #C5D343 #43D399
square
#5143D3 #D3437D #C5D343 #43D399
split-complementary
#5143D3 #D39943 #7DD343
monochromatic
#271E7E #3629B0 #5143D3 #7F75DF #ADA6EA

Accessibility & contrast

On white

6.79
#5143D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5143D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143D3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143D3#FFFFFF#000000##FFFFFF
##5143D31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5143d3;
/* rgb */ color: rgb(81, 67, 211);
/* oklch */ color: oklch(49.1% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#9079e2',
    500: '#5143d3',
    950: '#000000',
  },
}
SCSS
$custom: #5143d3;
$custom-light: #9079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5143d3",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 211
  },
  "hsl": {
    "h": 245.833,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.21104,
    "h": 279.6
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#5143D3
secondary
#D1D79A
accent
#E543D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5143D3

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

Preview Lab → · Contrast checker → · Palette generator →

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