#514EA2#514EA2

#514EA2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.132 H 281.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#514EA2
RGBrgb(81, 78, 162)
HSLhsl(242, 35%, 47%)
HSVhsv(242, 52%, 64%)
CMYKcmyk(50%, 51.9%, 0%, 36.5%)
CIE-LABlab(37.49, 24.63, -45.30)
CIE-LCHlch(37.49, 51.56, 298.53°)
OKLaboklab(47.09% 0.0267 -0.1291)
OKLCHoklch(47.09% 0.132 281.7)
XYZxyz(12.6373, 9.8061, 35.4023)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA2 #9FA24E
analogous
#4E75A2 #514EA2 #7B4EA2
triadic
#514EA2 #A2514E #4EA251
tetradic
#514EA2 #A24E75 #9FA24E #4EA27B
square
#514EA2 #A24E75 #9FA24E #4EA27B
split-complementary
#514EA2 #A27B4E #75A24E
monochromatic
#28264F #3C3A79 #514EA2 #7572BB #9D9BCF

Accessibility & contrast

On white

7.09
#514EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#514EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514EA2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EA2#FFFFFF#000000##FFFFFF
##514EA21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#336070
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514ea2;
/* rgb */ color: rgb(81, 78, 162);
/* oklch */ color: oklch(47.1% 0.132 281.7);
Tailwind
colors: {
  custom: {
    50: '#887fbe',
    500: '#514ea2',
    950: '#000000',
  },
}
SCSS
$custom: #514ea2;
$custom-light: #887fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea2",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 242.143,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.1318,
    "h": 281.7
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#514EA2
secondary
#BABC90
accent
#CB5DC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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