#514EE4#514EE4

#514EE4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.220 H 276.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#514EE4
RGBrgb(81, 78, 228)
HSLhsl(241, 74%, 60%)
HSVhsv(241, 66%, 89%)
CMYKcmyk(64.5%, 65.8%, 0%, 10.6%)
CIE-LABlab(42.46, 46.00, -75.68)
CIE-LCHlch(42.46, 88.56, 301.29°)
OKLaboklab(52.31% 0.025 -0.2183)
OKLCHoklch(52.31% 0.22 276.5)
XYZxyz(20.1168, 12.7978, 74.7939)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EE4 #E1E44E
analogous
#4E96E4 #514EE4 #9C4EE4
triadic
#514EE4 #E4514E #4EE451
tetradic
#514EE4 #E44E96 #E1E44E #4EE49C
square
#514EE4 #E44E96 #E1E44E #4EE49C
split-complementary
#514EE4 #E49C4E #96E44E
monochromatic
#1B189F #2420D4 #514EE4 #8583EC #B9B8F4

Accessibility & contrast

On white

5.90
#514EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#514EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EE4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EE4#FFFFFF#000000##FFFFFF
##514EE41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514ee4;
/* rgb */ color: rgb(81, 78, 228);
/* oklch */ color: oklch(52.3% 0.220 276.5);
Tailwind
colors: {
  custom: {
    50: '#9280ee',
    500: '#514ee4',
    950: '#000000',
  },
}
SCSS
$custom: #514ee4;
$custom-light: #9280ee;
$custom-dark: #000000;
JSON
{
  "hex": "#514ee4",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 241.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.21976,
    "h": 276.5
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#514EE4
secondary
#E3E4AA
accent
#F038ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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