#514DC1#514DC1

#514DC1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.176 H 279.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#514DC1
RGBrgb(81, 77, 193)
HSLhsl(242, 48%, 53%)
HSVhsv(242, 60%, 76%)
CMYKcmyk(58%, 60.1%, 0%, 24.3%)
CIE-LABlab(39.42, 35.28, -60.50)
CIE-LCHlch(39.42, 70.03, 300.25°)
OKLaboklab(49.22% 0.0284 -0.1738)
OKLCHoklch(49.22% 0.176 279.3)
XYZxyz(15.6698, 10.9063, 51.7211)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC1 #BDC14D
analogous
#4D83C1 #514DC1 #8B4DC1
triadic
#514DC1 #C1514D #4DC151
tetradic
#514DC1 #C14D83 #BDC14D #4DC18B
square
#514DC1 #C14D83 #BDC14D #4DC18B
split-complementary
#514DC1 #C18B4D #83C14D
monochromatic
#29266D #39369B #514DC1 #7D7AD1 #AAA8E1

Accessibility & contrast

On white

6.60
#514DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#514DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC1#FFFFFF#000000##FFFFFF
##514DC11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#07697F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514dc1;
/* rgb */ color: rgb(81, 77, 193);
/* oklch */ color: oklch(49.2% 0.176 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c7fd5',
    500: '#514dc1',
    950: '#000000',
  },
}
SCSS
$custom: #514dc1;
$custom-light: #8c7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc1",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 242.069,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.17607,
    "h": 279.3
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#514DC1
secondary
#CCCE9C
accent
#D850D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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