#514FE1#514FE1

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

Color values

HEX#514FE1
RGBrgb(81, 79, 225)
HSLhsl(241, 71%, 60%)
HSVhsv(241, 65%, 88%)
CMYKcmyk(64%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.42, 44.45, -74.03)
CIE-LCHlch(42.42, 86.35, 300.98°)
OKLaboklab(52.21% 0.0245 -0.2135)
OKLCHoklch(52.21% 0.215 276.5)
XYZxyz(19.7755, 12.7759, 72.6434)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE1 #DFE14F
analogous
#4F96E1 #514FE1 #9A4FE1
triadic
#514FE1 #E1514F #4FE151
tetradic
#514FE1 #E14F96 #DFE14F #4FE19A
square
#514FE1 #E14F96 #DFE14F #4FE19A
split-complementary
#514FE1 #E19A4F #96E14F
monochromatic
#1C1A9B #2623CF #514FE1 #8583EA #B8B8F3

Accessibility & contrast

On white

5.91
#514FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514FE1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE1#FFFFFF#000000##FFFFFF
##514FE11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514fe1;
/* rgb */ color: rgb(81, 79, 225);
/* oklch */ color: oklch(52.2% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#9281ec',
    500: '#514fe1',
    950: '#000000',
  },
}
SCSS
$custom: #514fe1;
$custom-light: #9281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe1",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 240.822,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.2149,
    "h": 276.5
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#514FE1
secondary
#E1E2AA
accent
#EE3AEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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