#5149DB#5149DB

#5149DB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.214 H 278.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5149DB
RGBrgb(81, 73, 219)
HSLhsl(243, 67%, 57%)
HSVhsv(243, 67%, 86%)
CMYKcmyk(63%, 66.7%, 0%, 14.1%)
CIE-LABlab(40.62, 46.03, -73.56)
CIE-LCHlch(40.62, 86.78, 302.03°)
OKLaboklab(50.74% 0.0297 -0.2121)
OKLCHoklch(50.74% 0.214 278)
XYZxyz(18.5579, 11.6274, 68.2705)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149DB #D3DB49
analogous
#498ADB #5149DB #9A49DB
triadic
#5149DB #DB5149 #49DB51
tetradic
#5149DB #DB498A #D3DB49 #49DB9A
square
#5149DB #DB498A #D3DB49 #49DB9A
split-complementary
#5149DB #DB9A49 #8ADB49
monochromatic
#221C8E #2F26C1 #5149DB #827CE5 #B3AFEF

Accessibility & contrast

On white

6.31
#5149DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5149DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149DB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149DB#FFFFFF#000000##FFFFFF
##5149DB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5149db;
/* rgb */ color: rgb(81, 73, 219);
/* oklch */ color: oklch(50.7% 0.214 278.0);
Tailwind
colors: {
  custom: {
    50: '#917de7',
    500: '#5149db',
    950: '#000000',
  },
}
SCSS
$custom: #5149db;
$custom-light: #917de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5149db",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 243.288,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.21421,
    "h": 278
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#5149DB
secondary
#DADDA2
accent
#EA3EE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149DB

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

Preview Lab → · Contrast checker → · Palette generator →

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