#514DC3#514DC3

#514DC3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.179 H 279.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#514DC3
RGBrgb(81, 77, 195)
HSLhsl(242, 50%, 53%)
HSVhsv(242, 61%, 76%)
CMYKcmyk(58.5%, 60.5%, 0%, 23.5%)
CIE-LABlab(39.57, 35.93, -61.41)
CIE-LCHlch(39.57, 71.15, 300.33°)
OKLaboklab(49.38% 0.0283 -0.1765)
OKLCHoklch(49.38% 0.179 279.1)
XYZxyz(15.8944, 10.9961, 52.9041)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC3 #BFC34D
analogous
#4D84C3 #514DC3 #8C4DC3
triadic
#514DC3 #C3514D #4DC351
tetradic
#514DC3 #C34D84 #BFC34D #4DC38C
square
#514DC3 #C34D84 #BFC34D #4DC38C
split-complementary
#514DC3 #C38C4D #84C34D
monochromatic
#282670 #39359E #514DC3 #7E7BD2 #AAA9E2

Accessibility & contrast

On white

6.56
#514DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#514DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC3#FFFFFF#000000##FFFFFF
##514DC31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514dc3;
/* rgb */ color: rgb(81, 77, 195);
/* oklch */ color: oklch(49.4% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d7fd6',
    500: '#514dc3',
    950: '#000000',
  },
}
SCSS
$custom: #514dc3;
$custom-light: #8d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc3",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 242.034,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.17873,
    "h": 279.1
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#514DC3
secondary
#CECF9D
accent
#D94FD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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