#5159DD#5159DD

#5159DD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.6% C 0.198 H 274.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5159DD
RGBrgb(81, 89, 221)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 63%, 87%)
CMYKcmyk(63.3%, 59.7%, 0%, 13.3%)
CIE-LABlab(44.39, 37.14, -68.54)
CIE-LCHlch(44.39, 77.95, 298.45°)
OKLaboklab(53.55% 0.0168 -0.1973)
OKLCHoklch(53.55% 0.198 274.9)
XYZxyz(20.0126, 14.1129, 70.0620)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5159DD #DDD551
analogous
#519FDD #5159DD #8F51DD
triadic
#5159DD #DD5159 #59DD51
tetradic
#5159DD #DD519F #DDD551 #51DD8F
square
#5159DD #DD519F #DDD551 #51DD8F
split-complementary
#5159DD #DD8F51 #9FDD51
monochromatic
#1D2496 #2731C9 #5159DD #848AE7 #B7BBF1

Accessibility & contrast

On white

5.49
#5159DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5159DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5159DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5159DD#FFFFFF#000000##FFFFFF
##5159DD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5159dd;
/* rgb */ color: rgb(81, 89, 221);
/* oklch */ color: oklch(53.6% 0.198 274.9);
Tailwind
colors: {
  custom: {
    50: '#9088e9',
    500: '#5159dd',
    950: '#000000',
  },
}
SCSS
$custom: #5159dd;
$custom-light: #9088e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5159dd",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 236.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.19803,
    "h": 274.9
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#5159DD
secondary
#E0DDAA
accent
#E03EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5159DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5159DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva