#514CE1#514CE1

#514CE1 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.218 H 277.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#514CE1
RGBrgb(81, 76, 225)
HSLhsl(242, 71%, 59%)
HSVhsv(242, 66%, 88%)
CMYKcmyk(64%, 66.2%, 0%, 11.8%)
CIE-LABlab(41.77, 46.20, -75.10)
CIE-LCHlch(41.77, 88.17, 301.60°)
OKLaboklab(51.73% 0.0267 -0.2166)
OKLCHoklch(51.73% 0.218 277)
XYZxyz(19.5640, 12.3528, 72.5729)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE1 #DCE14C
analogous
#4C92E1 #514CE1 #9B4CE1
triadic
#514CE1 #E1514C #4CE151
tetradic
#514CE1 #E14C92 #DCE14C #4CE19B
square
#514CE1 #E14C92 #DCE14C #4CE19B
split-complementary
#514CE1 #E19B4C #92E14C
monochromatic
#1E1A99 #2822CD #514CE1 #8480EA #B7B5F3

Accessibility & contrast

On white

6.05
#514CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#514CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE1#FFFFFF#000000##FFFFFF
##514CE11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514ce1;
/* rgb */ color: rgb(81, 76, 225);
/* oklch */ color: oklch(51.7% 0.218 277.0);
Tailwind
colors: {
  custom: {
    50: '#927fec',
    500: '#514ce1',
    950: '#000000',
  },
}
SCSS
$custom: #514ce1;
$custom-light: #927fec;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce1",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 242.013,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.21828,
    "h": 277
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#514CE1
secondary
#E0E2A7
accent
#EE3AE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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