#514CD6#514CD6

#514CD6 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.205 H 277.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#514CD6
RGBrgb(81, 76, 214)
HSLhsl(242, 63%, 57%)
HSVhsv(242, 64%, 84%)
CMYKcmyk(62.1%, 64.5%, 0%, 16.1%)
CIE-LABlab(40.85, 42.68, -70.32)
CIE-LCHlch(40.85, 82.25, 301.25°)
OKLaboklab(50.78% 0.0279 -0.2026)
OKLCHoklch(50.78% 0.205 277.8)
XYZxyz(18.1115, 11.7718, 64.9231)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD6 #D1D64C
analogous
#4C8CD6 #514CD6 #964CD6
triadic
#514CD6 #D6514C #4CD651
tetradic
#514CD6 #D64C8C #D1D64C #4CD696
square
#514CD6 #D64C8C #D1D64C #4CD696
split-complementary
#514CD6 #D6964C #8CD64C
monochromatic
#231F88 #302BBA #514CD6 #817EE1 #B2B0ED

Accessibility & contrast

On white

6.26
#514CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#514CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD6#FFFFFF#000000##FFFFFF
##514CD61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514cd6;
/* rgb */ color: rgb(81, 76, 214);
/* oklch */ color: oklch(50.8% 0.205 277.8);
Tailwind
colors: {
  custom: {
    50: '#907fe4',
    500: '#514cd6',
    950: '#000000',
  },
}
SCSS
$custom: #514cd6;
$custom-light: #907fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd6",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 242.174,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.20453,
    "h": 277.8
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#514CD6
secondary
#D9DBA3
accent
#E642E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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