#514795#514795

#514795 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.123 H 286.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#514795
RGBrgb(81, 71, 149)
HSLhsl(248, 35%, 43%)
HSVhsv(248, 52%, 58%)
CMYKcmyk(45.6%, 52.3%, 0%, 41.6%)
CIE-LABlab(34.85, 24.98, -41.69)
CIE-LCHlch(34.85, 48.60, 300.93°)
OKLaboklab(44.85% 0.0343 -0.1185)
OKLCHoklch(44.85% 0.123 286.2)
XYZxyz(11.0698, 8.4253, 29.4709)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514795 #8B9547
analogous
#476495 #514795 #784795
triadic
#514795 #955147 #479551
tetradic
#514795 #954764 #8B9547 #479578
square
#514795 #954764 #8B9547 #479578
split-complementary
#514795 #957847 #649547
monochromatic
#241F42 #3A336C #514795 #6E64B5 #958DC9

Accessibility & contrast

On white

7.82
#514795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#514795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514795
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514795#FFFFFF#000000##FFFFFF
##5147951.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#3C5867
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514795;
/* rgb */ color: rgb(81, 71, 149);
/* oklch */ color: oklch(44.8% 0.123 286.2);
Tailwind
colors: {
  custom: {
    50: '#867ab5',
    500: '#514795',
    950: '#000000',
  },
}
SCSS
$custom: #514795;
$custom-light: #867ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#514795",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 247.692,
    "s": 35.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.12339,
    "h": 286.2
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#514795
secondary
#AEB483
accent
#CB5CBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #514795

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

Preview Lab → · Contrast checker → · Palette generator →

#514795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva