#514DB8#514DB8

#514DB8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.164 H 280.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#514DB8
RGBrgb(81, 77, 184)
HSLhsl(242, 43%, 51%)
HSVhsv(242, 58%, 72%)
CMYKcmyk(56%, 58.2%, 0%, 27.8%)
CIE-LABlab(38.75, 32.35, -56.31)
CIE-LCHlch(38.75, 64.94, 299.88°)
OKLaboklab(48.52% 0.0286 -0.1615)
OKLCHoklch(48.52% 0.164 280)
XYZxyz(14.6962, 10.5168, 46.5936)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DB8 #B4B84D
analogous
#4D7EB8 #514DB8 #864DB8
triadic
#514DB8 #B8514D #4DB851
tetradic
#514DB8 #B84D7E #B4B84D #4DB886
square
#514DB8 #B84D7E #B4B84D #4DB886
split-complementary
#514DB8 #B8864D #7EB84D
monochromatic
#2A2863 #3C398F #514DB8 #7C79C9 #A7A4DB

Accessibility & contrast

On white

6.77
#514DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#514DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DB8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DB8#FFFFFF#000000##FFFFFF
##514DB81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#1C667B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514db8;
/* rgb */ color: rgb(81, 77, 184);
/* oklch */ color: oklch(48.5% 0.164 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b7fce',
    500: '#514db8',
    950: '#000000',
  },
}
SCSS
$custom: #514db8;
$custom-light: #8b7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#514db8",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 242.243,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.16397,
    "h": 280
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#514DB8
secondary
#C6C899
accent
#D355CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514DB8

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

Preview Lab → · Contrast checker → · Palette generator →

#514DB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva