#514CD4#514CD4

#514CD4 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.202 H 278.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#514CD4
RGBrgb(81, 76, 212)
HSLhsl(242, 61%, 56%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(61.8%, 64.2%, 0%, 16.9%)
CIE-LABlab(40.69, 42.03, -69.44)
CIE-LCHlch(40.69, 81.17, 301.19°)
OKLaboklab(50.61% 0.0281 -0.2)
OKLCHoklch(50.61% 0.202 278)
XYZxyz(17.8576, 11.6703, 63.5861)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD4 #CFD44C
analogous
#4C8BD4 #514CD4 #954CD4
triadic
#514CD4 #D4514C #4CD451
tetradic
#514CD4 #D44C8B #CFD44C #4CD495
square
#514CD4 #D44C8B #CFD44C #4CD495
split-complementary
#514CD4 #D4954C #8BD44C
monochromatic
#242086 #312CB7 #514CD4 #817DE0 #B1AFEC

Accessibility & contrast

On white

6.30
#514CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#514CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD4#FFFFFF#000000##FFFFFF
##514CD41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514cd4;
/* rgb */ color: rgb(81, 76, 212);
/* oklch */ color: oklch(50.6% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#907fe2',
    500: '#514cd4',
    950: '#000000',
  },
}
SCSS
$custom: #514cd4;
$custom-light: #907fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd4",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 242.206,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.202,
    "h": 278
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#514CD4
secondary
#D8DAA2
accent
#E443DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #514CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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