#514DD8#514DD8

#514DD8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.206 H 277.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#514DD8
RGBrgb(81, 77, 216)
HSLhsl(242, 64%, 57%)
HSVhsv(242, 64%, 85%)
CMYKcmyk(62.5%, 64.4%, 0%, 15.3%)
CIE-LABlab(41.24, 42.73, -70.83)
CIE-LCHlch(41.24, 82.72, 301.10°)
OKLaboklab(51.12% 0.0269 -0.2041)
OKLCHoklch(51.12% 0.206 277.5)
XYZxyz(18.4379, 12.0135, 66.2996)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD8 #D4D84D
analogous
#4D8ED8 #514DD8 #974DD8
triadic
#514DD8 #D8514D #4DD851
tetradic
#514DD8 #D84D8E #D4D84D #4DD897
square
#514DD8 #D84D8E #D4D84D #4DD897
split-complementary
#514DD8 #D8974D #8ED84D
monochromatic
#221F8C #2E2ABE #514DD8 #827FE3 #B3B1EE

Accessibility & contrast

On white

6.17
#514DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#514DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DD8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD8#FFFFFF#000000##FFFFFF
##514DD81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514dd8;
/* rgb */ color: rgb(81, 77, 216);
/* oklch */ color: oklch(51.1% 0.206 277.5);
Tailwind
colors: {
  custom: {
    50: '#907fe5',
    500: '#514dd8',
    950: '#000000',
  },
}
SCSS
$custom: #514dd8;
$custom-light: #907fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd8",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 241.727,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.20589,
    "h": 277.5
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#514DD8
secondary
#DBDCA4
accent
#E741E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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