#5143DE#5143DE

#5143DE is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.224 H 278.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5143DE
RGBrgb(81, 67, 222)
HSLhsl(245, 70%, 57%)
HSVhsv(245, 70%, 87%)
CMYKcmyk(63.5%, 69.8%, 0%, 12.9%)
CIE-LABlab(39.64, 50.36, -76.88)
CIE-LCHlch(39.64, 91.90, 303.22°)
OKLaboklab(50.12% 0.0335 -0.2219)
OKLCHoklch(50.12% 0.224 278.6)
XYZxyz(18.5811, 11.0361, 70.2441)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143DE #D0DE43
analogous
#4383DE #5143DE #9E43DE
triadic
#5143DE #DE5143 #43DE51
tetradic
#5143DE #DE4383 #D0DE43 #43DE9E
square
#5143DE #DE4383 #D0DE43 #43DE9E
split-complementary
#5143DE #DE9E43 #83DE43
monochromatic
#23198E #3022C2 #5143DE #8177E7 #B1ABF0

Accessibility & contrast

On white

6.55
#5143DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5143DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143DE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143DE#FFFFFF#000000##FFFFFF
##5143DE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0057DB
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5143de;
/* rgb */ color: rgb(81, 67, 222);
/* oklch */ color: oklch(50.1% 0.224 278.6);
Tailwind
colors: {
  custom: {
    50: '#9279ea',
    500: '#5143de',
    950: '#000000',
  },
}
SCSS
$custom: #5143de;
$custom-light: #9279ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5143de",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 222
  },
  "hsl": {
    "h": 245.419,
    "s": 70.136,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.22438,
    "h": 278.6
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#5143DE
secondary
#D8DE9F
accent
#ED3BDD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5143DE

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

Preview Lab → · Contrast checker → · Palette generator →

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