#514B9E#514B9E

#514B9E is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.130 H 283.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#514B9E
RGBrgb(81, 75, 158)
HSLhsl(244, 36%, 46%)
HSVhsv(244, 53%, 62%)
CMYKcmyk(48.7%, 52.5%, 0%, 38%)
CIE-LABlab(36.46, 25.26, -44.56)
CIE-LCHlch(36.46, 51.22, 299.55°)
OKLaboklab(46.24% 0.03 -0.1269)
OKLCHoklch(46.24% 0.13 283.3)
XYZxyz(12.0791, 9.2495, 33.4900)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B9E #989E4B
analogous
#4B6E9E #514B9E #7A4B9E
triadic
#514B9E #9E514B #4B9E51
tetradic
#514B9E #9E4B6E #989E4B #4B9E7A
square
#514B9E #9E4B6E #989E4B #4B9E7A
split-complementary
#514B9E #9E7A4B #6E9E4B
monochromatic
#26244B #3C3774 #514B9E #726DBA #9A96CD

Accessibility & contrast

On white

7.37
#514B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#514B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B9E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B9E#FFFFFF#000000##FFFFFF
##514B9E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A1
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#365D6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #514b9e;
/* rgb */ color: rgb(81, 75, 158);
/* oklch */ color: oklch(46.2% 0.130 283.3);
Tailwind
colors: {
  custom: {
    50: '#877dbb',
    500: '#514b9e',
    950: '#000000',
  },
}
SCSS
$custom: #514b9e;
$custom-light: #877dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#514b9e",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 244.337,
    "s": 35.622,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.1304,
    "h": 283.3
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#514B9E
secondary
#B6B98B
accent
#CC5CC4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #514B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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