#514EA6#514EA6

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

Color values

HEX#514EA6
RGBrgb(81, 78, 166)
HSLhsl(242, 36%, 48%)
HSVhsv(242, 53%, 65%)
CMYKcmyk(51.2%, 53%, 0%, 34.9%)
CIE-LABlab(37.75, 25.91, -47.27)
CIE-LCHlch(37.75, 53.90, 298.73°)
OKLaboklab(47.37% 0.027 -0.1349)
OKLCHoklch(47.37% 0.138 281.3)
XYZxyz(12.9986, 9.9506, 37.3047)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA6 #A3A64E
analogous
#4E77A6 #514EA6 #7D4EA6
triadic
#514EA6 #A6514E #4EA651
tetradic
#514EA6 #A64E77 #A3A64E #4EA67D
square
#514EA6 #A64E77 #A3A64E #4EA67D
split-complementary
#514EA6 #A67D4E #77A64E
monochromatic
#282753 #3D3A7C #514EA6 #7674BE #9F9DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514EA6#FFFFFF#000000##FFFFFF
##514EA61.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)
#205CA9
Deuteranopia (green-blind)
#1856A4
Tritanopia (blue-blind)
#306172
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514ea6;
/* rgb */ color: rgb(81, 78, 166);
/* oklch */ color: oklch(47.4% 0.138 281.3);
Tailwind
colors: {
  custom: {
    50: '#887fc1',
    500: '#514ea6',
    950: '#000000',
  },
}
SCSS
$custom: #514ea6;
$custom-light: #887fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea6",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 242.045,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.13753,
    "h": 281.3
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#514EA6
secondary
#BCBE92
accent
#CC5CC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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