#514CD3#514CD3

#514CD3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.201 H 278.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#514CD3
RGBrgb(81, 76, 211)
HSLhsl(242, 61%, 56%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(61.6%, 64%, 0%, 17.3%)
CIE-LABlab(40.61, 41.71, -68.99)
CIE-LCHlch(40.61, 80.62, 301.15°)
OKLaboklab(50.53% 0.0282 -0.1987)
OKLCHoklch(50.53% 0.201 278.1)
XYZxyz(17.7319, 11.6200, 62.9239)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD3 #CED34C
analogous
#4C8BD3 #514CD3 #954CD3
triadic
#514CD3 #D3514C #4CD351
tetradic
#514CD3 #D34C8B #CED34C #4CD395
square
#514CD3 #D34C8B #CED34C #4CD395
split-complementary
#514CD3 #D3954C #8BD34C
monochromatic
#242084 #322DB5 #514CD3 #817DDF #B1AEEB

Accessibility & contrast

On white

6.32
#514CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#514CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD3#FFFFFF#000000##FFFFFF
##514CD31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514cd3;
/* rgb */ color: rgb(81, 76, 211);
/* oklch */ color: oklch(50.5% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f7fe2',
    500: '#514cd3',
    950: '#000000',
  },
}
SCSS
$custom: #514cd3;
$custom-light: #8f7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd3",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 242.222,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.20072,
    "h": 278.1
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#514CD3
secondary
#D7D9A2
accent
#E444DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #514CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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