#5143DB#5143DB

#5143DB is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.221 H 278.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5143DB
RGBrgb(81, 67, 219)
HSLhsl(246, 68%, 56%)
HSVhsv(246, 69%, 86%)
CMYKcmyk(63%, 69.4%, 0%, 14.1%)
CIE-LABlab(39.37, 49.43, -75.61)
CIE-LCHlch(39.37, 90.33, 303.17°)
OKLaboklab(49.85% 0.034 -0.2181)
OKLCHoklch(49.85% 0.221 278.9)
XYZxyz(18.1826, 10.8767, 68.1453)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143DB #CDDB43
analogous
#4381DB #5143DB #9D43DB
triadic
#5143DB #DB5143 #43DB51
tetradic
#5143DB #DB4381 #CDDB43 #43DB9D
square
#5143DB #DB4381 #CDDB43 #43DB9D
split-complementary
#5143DB #DB9D43 #81DB43
monochromatic
#251A89 #3224BD #5143DB #8176E5 #B0AAEF

Accessibility & contrast

On white

6.61
#5143DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5143DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143DB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143DB#FFFFFF#000000##FFFFFF
##5143DB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5143db;
/* rgb */ color: rgb(81, 67, 219);
/* oklch */ color: oklch(49.8% 0.221 278.9);
Tailwind
colors: {
  custom: {
    50: '#9279e7',
    500: '#5143db',
    950: '#000000',
  },
}
SCSS
$custom: #5143db;
$custom-light: #9279e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5143db",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 245.526,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.22077,
    "h": 278.9
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#5143DB
secondary
#D7DC9E
accent
#EB3DDB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5143DB

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

Preview Lab → · Contrast checker → · Palette generator →

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