#514FA2#514FA2

#514FA2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.130 H 281.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#514FA2
RGBrgb(81, 79, 162)
HSLhsl(241, 34%, 47%)
HSVhsv(241, 51%, 64%)
CMYKcmyk(50%, 51.2%, 0%, 36.5%)
CIE-LABlab(37.75, 23.99, -44.88)
CIE-LCHlch(37.75, 50.89, 298.13°)
OKLaboklab(47.29% 0.0255 -0.1278)
OKLCHoklch(47.29% 0.13 281.3)
XYZxyz(12.7089, 9.9493, 35.4261)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA2 #A0A24F
analogous
#4F76A2 #514FA2 #7B4FA2
triadic
#514FA2 #A2514F #4FA251
tetradic
#514FA2 #A24F76 #A0A24F #4FA27B
square
#514FA2 #A24F76 #A0A24F #4FA27B
split-complementary
#514FA2 #A27B4F #76A24F
monochromatic
#282750 #3C3B79 #514FA2 #7573BB #9E9CCF

Accessibility & contrast

On white

7.02
#514FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#514FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514FA2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA2#FFFFFF#000000##FFFFFF
##514FA21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#336171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa2;
/* rgb */ color: rgb(81, 79, 162);
/* oklch */ color: oklch(47.3% 0.130 281.3);
Tailwind
colors: {
  custom: {
    50: '#8780be',
    500: '#514fa2',
    950: '#000000',
  },
}
SCSS
$custom: #514fa2;
$custom-light: #8780be;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa2",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 241.446,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.13035,
    "h": 281.3
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#514FA2
secondary
#BBBC91
accent
#CB5DC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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