#514EE2#514EE2

#514EE2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.1% C 0.217 H 276.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#514EE2
RGBrgb(81, 78, 226)
HSLhsl(241, 72%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(64.2%, 65.5%, 0%, 11.4%)
CIE-LABlab(42.29, 45.36, -74.82)
CIE-LCHlch(42.29, 87.50, 301.23°)
OKLaboklab(52.14% 0.0252 -0.2158)
OKLCHoklch(52.14% 0.217 276.6)
XYZxyz(19.8407, 12.6874, 73.3401)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EE2 #DFE24E
analogous
#4E95E2 #514EE2 #9B4EE2
triadic
#514EE2 #E2514E #4EE251
tetradic
#514EE2 #E24E95 #DFE24E #4EE29B
square
#514EE2 #E24E95 #DFE24E #4EE29B
split-complementary
#514EE2 #E29B4E #95E24E
monochromatic
#1C1A9C #2622D1 #514EE2 #8583EB #B8B7F3

Accessibility & contrast

On white

5.94
#514EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#514EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EE2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EE2#FFFFFF#000000##FFFFFF
##514EE21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514ee2;
/* rgb */ color: rgb(81, 78, 226);
/* oklch */ color: oklch(52.1% 0.217 276.6);
Tailwind
colors: {
  custom: {
    50: '#9280ec',
    500: '#514ee2',
    950: '#000000',
  },
}
SCSS
$custom: #514ee2;
$custom-light: #9280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#514ee2",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 241.216,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.21728,
    "h": 276.6
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#514EE2
secondary
#E1E3A9
accent
#EF39EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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