#514697#514697

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

Color values

HEX#514697
RGBrgb(81, 70, 151)
HSLhsl(248, 37%, 43%)
HSVhsv(248, 54%, 59%)
CMYKcmyk(46.4%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.73, 26.24, -43.11)
CIE-LCHlch(34.73, 50.46, 301.33°)
OKLaboklab(44.8% 0.0357 -0.1227)
OKLCHoklch(44.8% 0.128 286.2)
XYZxyz(11.1678, 8.3635, 30.2980)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514697 #8C9746
analogous
#466397 #514697 #794697
triadic
#514697 #975146 #469751
tetradic
#514697 #974663 #8C9746 #469779
square
#514697 #974663 #8C9746 #469779
split-complementary
#514697 #977946 #639746
monochromatic
#241F43 #3B336D #514697 #6F63B7 #958DCA

Accessibility & contrast

On white

7.86
#514697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#514697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514697
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514697#FFFFFF#000000##FFFFFF
##5146971.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#3B5767
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514697;
/* rgb */ color: rgb(81, 70, 151);
/* oklch */ color: oklch(44.8% 0.128 286.2);
Tailwind
colors: {
  custom: {
    50: '#8779b6',
    500: '#514697',
    950: '#000000',
  },
}
SCSS
$custom: #514697;
$custom-light: #8779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#514697",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 248.148,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.12778,
    "h": 286.2
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#514697
secondary
#AFB683
accent
#CD5BBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514697

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

Preview Lab → · Contrast checker → · Palette generator →

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