#514B92#514B92

#514B92 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.113 H 284.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#514B92
RGBrgb(81, 75, 146)
HSLhsl(245, 32%, 43%)
HSVhsv(245, 49%, 57%)
CMYKcmyk(44.5%, 48.6%, 0%, 42.7%)
CIE-LABlab(35.71, 21.50, -38.51)
CIE-LCHlch(35.71, 44.10, 299.17°)
OKLaboklab(45.43% 0.0288 -0.1091)
OKLCHoklch(45.43% 0.113 284.8)
XYZxyz(11.0962, 8.8564, 28.3133)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B92 #8C924B
analogous
#4B6892 #514B92 #744B92
triadic
#514B92 #92514B #4B9251
tetradic
#514B92 #924B68 #8C924B #4B9274
square
#514B92 #924B68 #8C924B #4B9274
split-complementary
#514B92 #92744B #68924B
monochromatic
#242141 #3B366A #514B92 #6F69B2 #9591C6

Accessibility & contrast

On white

7.58
#514B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#514B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B92
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B92#FFFFFF#000000##FFFFFF
##514B921.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#3D5A67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #514b92;
/* rgb */ color: rgb(81, 75, 146);
/* oklch */ color: oklch(45.4% 0.113 284.8);
Tailwind
colors: {
  custom: {
    50: '#867db2',
    500: '#514b92',
    950: '#000000',
  },
}
SCSS
$custom: #514b92;
$custom-light: #867db2;
$custom-dark: #000000;
JSON
{
  "hex": "#514b92",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 245.07,
    "s": 32.127,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.1129,
    "h": 284.8
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#514B92
secondary
#AFB386
accent
#C860BF
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #514B92

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

Preview Lab → · Contrast checker → · Palette generator →

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