#514FAF#514FAF

#514FAF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.149 H 280.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#514FAF
RGBrgb(81, 79, 175)
HSLhsl(241, 38%, 50%)
HSVhsv(241, 55%, 69%)
CMYKcmyk(53.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(38.61, 28.18, -51.23)
CIE-LCHlch(38.61, 58.47, 298.82°)
OKLaboklab(48.21% 0.0263 -0.1465)
OKLCHoklch(48.21% 0.149 280.2)
XYZxyz(13.9248, 10.4356, 41.8296)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FAF #ADAF4F
analogous
#4F7DAF #514FAF #814FAF
triadic
#514FAF #AF514F #4FAF51
tetradic
#514FAF #AF4F7D #ADAF4F #4FAF81
square
#514FAF #AF4F7D #ADAF4F #4FAF81
split-complementary
#514FAF #AF814F #7DAF4F
monochromatic
#2A295B #3D3C85 #514FAF #7A79C2 #A4A3D5

Accessibility & contrast

On white

6.80
#514FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#514FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FAF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FAF#FFFFFF#000000##FFFFFF
##514FAF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#276577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514faf;
/* rgb */ color: rgb(81, 79, 175);
/* oklch */ color: oklch(48.2% 0.149 280.2);
Tailwind
colors: {
  custom: {
    50: '#8980c7',
    500: '#514faf',
    950: '#000000',
  },
}
SCSS
$custom: #514faf;
$custom-light: #8980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#514faf",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 241.25,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.14885,
    "h": 280.2
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#514FAF
secondary
#C2C397
accent
#CE5ACB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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