#5141CE#5141CE

#5141CE is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.207 H 280.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5141CE
RGBrgb(81, 65, 206)
HSLhsl(247, 59%, 53%)
HSVhsv(247, 68%, 81%)
CMYKcmyk(60.7%, 68.4%, 0%, 19.2%)
CIE-LABlab(37.82, 46.51, -70.67)
CIE-LCHlch(37.82, 84.61, 303.35°)
OKLaboklab(48.38% 0.0376 -0.2037)
OKLCHoklch(48.38% 0.207 280.4)
XYZxyz(16.4207, 9.9850, 59.4425)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5141CE #BECE41
analogous
#4177CE #5141CE #9841CE
triadic
#5141CE #CE5141 #41CE51
tetradic
#5141CE #CE4177 #BECE41 #41CE98
square
#5141CE #CE4177 #BECE41 #41CE98
split-complementary
#5141CE #CE9841 #77CE41
monochromatic
#281E76 #392BA7 #5141CE #7E72DB #AAA2E7

Accessibility & contrast

On white

7.01
#5141CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5141CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5141CE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5141CE#FFFFFF#000000##FFFFFF
##5141CE1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5141ce;
/* rgb */ color: rgb(81, 65, 206);
/* oklch */ color: oklch(48.4% 0.207 280.4);
Tailwind
colors: {
  custom: {
    50: '#8f77de',
    500: '#5141ce',
    950: '#000000',
  },
}
SCSS
$custom: #5141ce;
$custom-light: #8f77de;
$custom-dark: #000000;
JSON
{
  "hex": "#5141ce",
  "rgb": {
    "r": 81,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 246.809,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.20711,
    "h": 280.4
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#5141CE
secondary
#CDD497
accent
#E246D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5141CE

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

Preview Lab → · Contrast checker → · Palette generator →

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