#514CE4#514CE4

#514CE4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.222 H 276.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#514CE4
RGBrgb(81, 76, 228)
HSLhsl(242, 74%, 60%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(64.5%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.03, 47.16, -76.38)
CIE-LCHlch(42.03, 89.77, 301.69°)
OKLaboklab(52% 0.0264 -0.2204)
OKLCHoklch(52% 0.222 276.8)
XYZxyz(19.9768, 12.5180, 74.7472)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE4 #DFE44C
analogous
#4C93E4 #514CE4 #9D4CE4
triadic
#514CE4 #E4514C #4CE451
tetradic
#514CE4 #E44C93 #DFE44C #4CE49D
square
#514CE4 #E44C93 #DFE44C #4CE49D
split-complementary
#514CE4 #E49D4C #93E44C
monochromatic
#1C189E #2620D3 #514CE4 #8581EC #B8B6F4

Accessibility & contrast

On white

5.99
#514CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#514CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE4#FFFFFF#000000##FFFFFF
##514CE41.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514ce4;
/* rgb */ color: rgb(81, 76, 228);
/* oklch */ color: oklch(52.0% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#937fee',
    500: '#514ce4',
    950: '#000000',
  },
}
SCSS
$custom: #514ce4;
$custom-light: #937fee;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce4",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 241.974,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.22198,
    "h": 276.8
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#514CE4
secondary
#E1E3A8
accent
#F037EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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