#514B93#514B93

#514B93 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.5% C 0.114 H 284.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#514B93
RGBrgb(81, 75, 147)
HSLhsl(245, 32%, 44%)
HSVhsv(245, 49%, 58%)
CMYKcmyk(44.9%, 49%, 0%, 42.4%)
CIE-LABlab(35.77, 21.81, -39.02)
CIE-LCHlch(35.77, 44.70, 299.20°)
OKLaboklab(45.49% 0.029 -0.1106)
OKLCHoklch(45.49% 0.114 284.7)
XYZxyz(11.1743, 8.8876, 28.7248)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B93 #8D934B
analogous
#4B6993 #514B93 #754B93
triadic
#514B93 #93514B #4B9351
tetradic
#514B93 #934B69 #8D934B #4B9375
square
#514B93 #934B69 #8D934B #4B9375
split-complementary
#514B93 #93754B #69934B
monochromatic
#242242 #3B366A #514B93 #6F69B2 #9691C7

Accessibility & contrast

On white

7.56
#514B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#514B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B93
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B93#FFFFFF#000000##FFFFFF
##514B931.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5696
Deuteranopia (green-blind)
#2B5291
Tritanopia (blue-blind)
#3C5A68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #514b93;
/* rgb */ color: rgb(81, 75, 147);
/* oklch */ color: oklch(45.5% 0.114 284.7);
Tailwind
colors: {
  custom: {
    50: '#867db3',
    500: '#514b93',
    950: '#000000',
  },
}
SCSS
$custom: #514b93;
$custom-light: #867db3;
$custom-dark: #000000;
JSON
{
  "hex": "#514b93",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 245,
    "s": 32.432,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.11437,
    "h": 284.7
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#514B93
secondary
#AFB387
accent
#C95FC0
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #514B93

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

Preview Lab → · Contrast checker → · Palette generator →

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