#514B94#514B94

#514B94 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.6% C 0.116 H 284.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#514B94
RGBrgb(81, 75, 148)
HSLhsl(245, 33%, 44%)
HSVhsv(245, 49%, 58%)
CMYKcmyk(45.3%, 49.3%, 0%, 42%)
CIE-LABlab(35.83, 22.12, -39.53)
CIE-LCHlch(35.83, 45.30, 299.23°)
OKLaboklab(45.56% 0.0291 -0.1121)
OKLCHoklch(45.56% 0.116 284.5)
XYZxyz(11.2532, 8.9191, 29.1399)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B94 #8E944B
analogous
#4B6994 #514B94 #754B94
triadic
#514B94 #94514B #4B9451
tetradic
#514B94 #944B69 #8E944B #4B9475
square
#514B94 #944B69 #8E944B #4B9475
split-complementary
#514B94 #94754B #69944B
monochromatic
#252243 #3B366B #514B94 #6F69B3 #9692C8

Accessibility & contrast

On white

7.54
#514B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B94
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B94#FFFFFF#000000##FFFFFF
##514B941.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514b94;
/* rgb */ color: rgb(81, 75, 148);
/* oklch */ color: oklch(45.6% 0.116 284.5);
Tailwind
colors: {
  custom: {
    50: '#867db4',
    500: '#514b94',
    950: '#000000',
  },
}
SCSS
$custom: #514b94;
$custom-light: #867db4;
$custom-dark: #000000;
JSON
{
  "hex": "#514b94",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 244.932,
    "s": 32.735,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.11585,
    "h": 284.5
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514B94

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

Preview Lab → · Contrast checker → · Palette generator →

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