#514FAC#514FAC

#514FAC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.145 H 280.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#514FAC
RGBrgb(81, 79, 172)
HSLhsl(241, 37%, 49%)
HSVhsv(241, 54%, 67%)
CMYKcmyk(52.9%, 54.1%, 0%, 32.5%)
CIE-LABlab(38.41, 27.21, -49.78)
CIE-LCHlch(38.41, 56.73, 298.66°)
OKLaboklab(47.99% 0.0262 -0.1422)
OKLCHoklch(47.99% 0.145 280.4)
XYZxyz(13.6334, 10.3190, 40.2951)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FAC #AAAC4F
analogous
#4F7CAC #514FAC #804FAC
triadic
#514FAC #AC514F #4FAC51
tetradic
#514FAC #AC4F7C #AAAC4F #4FAC80
square
#514FAC #AC4F7C #AAAC4F #4FAC80
split-complementary
#514FAC #AC804F #7CAC4F
monochromatic
#2A2858 #3D3C82 #514FAC #7977C1 #A2A1D4

Accessibility & contrast

On white

6.85
#514FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#514FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FAC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FAC#FFFFFF#000000##FFFFFF
##514FAC1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0B57AA
Tritanopia (blue-blind)
#2A6476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514fac;
/* rgb */ color: rgb(81, 79, 172);
/* oklch */ color: oklch(48.0% 0.145 280.4);
Tailwind
colors: {
  custom: {
    50: '#8980c5',
    500: '#514fac',
    950: '#000000',
  },
}
SCSS
$custom: #514fac;
$custom-light: #8980c5;
$custom-dark: #000000;
JSON
{
  "hex": "#514fac",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 241.29,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.14464,
    "h": 280.4
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#514FAC
secondary
#C0C196
accent
#CD5BCB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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