#514EA3#514EA3

#514EA3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.133 H 281.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#514EA3
RGBrgb(81, 78, 163)
HSLhsl(242, 35%, 47%)
HSVhsv(242, 52%, 64%)
CMYKcmyk(50.3%, 52.1%, 0%, 36.1%)
CIE-LABlab(37.56, 24.95, -45.79)
CIE-LCHlch(37.56, 52.15, 298.58°)
OKLaboklab(47.16% 0.0268 -0.1305)
OKLCHoklch(47.16% 0.133 281.6)
XYZxyz(12.7266, 9.8418, 35.8723)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA3 #A0A34E
analogous
#4E75A3 #514EA3 #7C4EA3
triadic
#514EA3 #A3514E #4EA351
tetradic
#514EA3 #A34E75 #A0A34E #4EA37C
square
#514EA3 #A34E75 #A0A34E #4EA37C
split-complementary
#514EA3 #A37C4E #75A34E
monochromatic
#282650 #3C3A7A #514EA3 #7572BC #9E9CD0

Accessibility & contrast

On white

7.07
#514EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#514EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514EA3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EA3#FFFFFF#000000##FFFFFF
##514EA31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#326171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514ea3;
/* rgb */ color: rgb(81, 78, 163);
/* oklch */ color: oklch(47.2% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#887fbf',
    500: '#514ea3',
    950: '#000000',
  },
}
SCSS
$custom: #514ea3;
$custom-light: #887fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea3",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 242.118,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.13324,
    "h": 281.6
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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