#514BAC#514BAC

#514BAC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.150 H 281.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#514BAC
RGBrgb(81, 75, 172)
HSLhsl(244, 39%, 48%)
HSVhsv(244, 56%, 67%)
CMYKcmyk(52.9%, 56.4%, 0%, 32.5%)
CIE-LABlab(37.41, 29.73, -51.40)
CIE-LCHlch(37.41, 59.38, 300.04°)
OKLaboklab(47.25% 0.0306 -0.147)
OKLCHoklch(47.25% 0.15 281.8)
XYZxyz(13.3535, 9.7593, 40.2018)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BAC #A6AC4B
analogous
#4B75AC #514BAC #814BAC
triadic
#514BAC #AC514B #4BAC51
tetradic
#514BAC #AC4B75 #A6AC4B #4BAC81
square
#514BAC #AC4B75 #A6AC4B #4BAC81
split-complementary
#514BAC #AC814B #75AC4B
monochromatic
#292657 #3D3881 #514BAC #7772C2 #A19DD4

Accessibility & contrast

On white

7.11
#514BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#514BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514BAC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BAC#FFFFFF#000000##FFFFFF
##514BAC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075BAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#2B6174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514bac;
/* rgb */ color: rgb(81, 75, 172);
/* oklch */ color: oklch(47.2% 0.150 281.8);
Tailwind
colors: {
  custom: {
    50: '#897dc5',
    500: '#514bac',
    950: '#000000',
  },
}
SCSS
$custom: #514bac;
$custom-light: #897dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#514bac",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 243.711,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.15019,
    "h": 281.8
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#514BAC
secondary
#BEC192
accent
#CF59C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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