#514DA1#514DA1

#514DA1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.132 H 282.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#514DA1
RGBrgb(81, 77, 161)
HSLhsl(243, 35%, 47%)
HSVhsv(243, 52%, 63%)
CMYKcmyk(49.7%, 52.2%, 0%, 36.9%)
CIE-LABlab(37.17, 24.94, -45.22)
CIE-LCHlch(37.17, 51.64, 298.88°)
OKLaboklab(46.83% 0.0278 -0.1288)
OKLCHoklch(46.83% 0.132 282.2)
XYZxyz(12.4783, 9.6296, 34.9125)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DA1 #9DA14D
analogous
#4D73A1 #514DA1 #7B4DA1
triadic
#514DA1 #A1514D #4DA151
tetradic
#514DA1 #A14D73 #9DA14D #4DA17B
square
#514DA1 #A14D73 #9DA14D #4DA17B
split-complementary
#514DA1 #A17B4D #73A14D
monochromatic
#27254E #3C3978 #514DA1 #7470BB #9C9ACF

Accessibility & contrast

On white

7.18
#514DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#514DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514DA1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DA1#FFFFFF#000000##FFFFFF
##514DA11.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#345F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #514da1;
/* rgb */ color: rgb(81, 77, 161);
/* oklch */ color: oklch(46.8% 0.132 282.2);
Tailwind
colors: {
  custom: {
    50: '#877fbd',
    500: '#514da1',
    950: '#000000',
  },
}
SCSS
$custom: #514da1;
$custom-light: #877fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#514da1",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 242.857,
    "s": 35.294,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.13181,
    "h": 282.2
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#514DA1
secondary
#B9BB8F
accent
#CB5CC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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