#514CD5#514CD5

#514CD5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.203 H 277.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#514CD5
RGBrgb(81, 76, 213)
HSLhsl(242, 62%, 57%)
HSVhsv(242, 64%, 84%)
CMYKcmyk(62%, 64.3%, 0%, 16.5%)
CIE-LABlab(40.77, 42.35, -69.88)
CIE-LCHlch(40.77, 81.71, 301.22°)
OKLaboklab(50.7% 0.028 -0.2013)
OKLCHoklch(50.7% 0.203 277.9)
XYZxyz(17.9842, 11.7209, 64.2525)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD5 #D0D54C
analogous
#4C8CD5 #514CD5 #964CD5
triadic
#514CD5 #D5514C #4CD551
tetradic
#514CD5 #D54C8C #D0D54C #4CD596
square
#514CD5 #D54C8C #D0D54C #4CD596
split-complementary
#514CD5 #D5964C #8CD54C
monochromatic
#232087 #302BB9 #514CD5 #817EE1 #B1AFEC

Accessibility & contrast

On white

6.28
#514CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#514CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD5#FFFFFF#000000##FFFFFF
##514CD51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514cd5;
/* rgb */ color: rgb(81, 76, 213);
/* oklch */ color: oklch(50.7% 0.203 277.9);
Tailwind
colors: {
  custom: {
    50: '#907fe3',
    500: '#514cd5',
    950: '#000000',
  },
}
SCSS
$custom: #514cd5;
$custom-light: #907fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd5",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 242.19,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.20326,
    "h": 277.9
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#514CD5
secondary
#D8DAA2
accent
#E543DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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