#514CDE#514CDE

#514CDE is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.215 H 277.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#514CDE
RGBrgb(81, 76, 222)
HSLhsl(242, 69%, 58%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(63.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(41.52, 45.24, -73.80)
CIE-LCHlch(41.52, 86.57, 301.51°)
OKLaboklab(51.47% 0.0271 -0.2128)
OKLCHoklch(51.47% 0.215 277.2)
XYZxyz(19.1583, 12.1906, 70.4365)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CDE #D9DE4C
analogous
#4C90DE #514CDE #9A4CDE
triadic
#514CDE #DE514C #4CDE51
tetradic
#514CDE #DE4C90 #D9DE4C #4CDE9A
square
#514CDE #DE4C90 #D9DE4C #4CDE9A
split-complementary
#514CDE #DE9A4C #90DE4C
monochromatic
#1F1B94 #2A25C8 #514CDE #8380E8 #B5B3F1

Accessibility & contrast

On white

6.11
#514CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#514CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CDE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CDE#FFFFFF#000000##FFFFFF
##514CDE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514cde;
/* rgb */ color: rgb(81, 76, 222);
/* oklch */ color: oklch(51.5% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#917fe9',
    500: '#514cde',
    950: '#000000',
  },
}
SCSS
$custom: #514cde;
$custom-light: #917fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#514cde",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 242.055,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.21456,
    "h": 277.2
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#514CDE
secondary
#DEE0A6
accent
#EC3CE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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