#514FE4#514FE4

#514FE4 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.219 H 276.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#514FE4
RGBrgb(81, 79, 228)
HSLhsl(241, 73%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(64.5%, 65.4%, 0%, 10.6%)
CIE-LABlab(42.67, 45.42, -75.32)
CIE-LCHlch(42.67, 87.96, 301.09°)
OKLaboklab(52.47% 0.0242 -0.2173)
OKLCHoklch(52.47% 0.219 276.4)
XYZxyz(20.1883, 12.9410, 74.8177)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE4 #E2E44F
analogous
#4F98E4 #514FE4 #9B4FE4
triadic
#514FE4 #E4514F #4FE451
tetradic
#514FE4 #E44F98 #E2E44F #4FE49B
square
#514FE4 #E44F98 #E2E44F #4FE49B
split-complementary
#514FE4 #E49B4F #98E44F
monochromatic
#1A19A0 #2321D5 #514FE4 #8584EC #BAB9F4

Accessibility & contrast

On white

5.85
#514FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#514FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FE4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE4#FFFFFF#000000##FFFFFF
##514FE41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514fe4;
/* rgb */ color: rgb(81, 79, 228);
/* oklch */ color: oklch(52.5% 0.219 276.4);
Tailwind
colors: {
  custom: {
    50: '#9281ee',
    500: '#514fe4',
    950: '#000000',
  },
}
SCSS
$custom: #514fe4;
$custom-light: #9281ee;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe4",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 240.805,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.21865,
    "h": 276.4
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#514FE4
secondary
#E3E4AB
accent
#D610D3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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