#5143CB#5143CB

#5143CB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.201 H 280.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5143CB
RGBrgb(81, 67, 203)
HSLhsl(246, 57%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.1%, 67%, 0%, 20.4%)
CIE-LABlab(37.98, 44.44, -68.67)
CIE-LCHlch(37.98, 81.80, 302.91°)
OKLaboklab(48.42% 0.0364 -0.1978)
OKLCHoklch(48.42% 0.201 280.4)
XYZxyz(16.1766, 10.0743, 57.5804)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143CB #BDCB43
analogous
#4379CB #5143CB #9543CB
triadic
#5143CB #CB5143 #43CB51
tetradic
#5143CB #CB4379 #BDCB43 #43CB95
square
#5143CB #CB4379 #BDCB43 #43CB95
split-complementary
#5143CB #CB9543 #79CB43
monochromatic
#292074 #392DA4 #5143CB #7D73D8 #AAA3E6

Accessibility & contrast

On white

6.97
#5143CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5143CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143CB#FFFFFF#000000##FFFFFF
##5143CB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5143cb;
/* rgb */ color: rgb(81, 67, 203);
/* oklch */ color: oklch(48.4% 0.201 280.4);
Tailwind
colors: {
  custom: {
    50: '#8f78dc',
    500: '#5143cb',
    950: '#000000',
  },
}
SCSS
$custom: #5143cb;
$custom-light: #8f78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5143cb",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 246.176,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.20114,
    "h": 280.4
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#5143CB
secondary
#CCD298
accent
#E048D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143CB

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

Preview Lab → · Contrast checker → · Palette generator →

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