#514CB3#514CB3

#514CB3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.158 H 280.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#514CB3
RGBrgb(81, 76, 179)
HSLhsl(243, 40%, 50%)
HSVhsv(243, 58%, 70%)
CMYKcmyk(54.7%, 57.5%, 0%, 29.8%)
CIE-LABlab(38.15, 31.36, -54.34)
CIE-LCHlch(38.15, 62.74, 299.99°)
OKLaboklab(47.95% 0.0296 -0.1557)
OKLCHoklch(47.95% 0.158 280.8)
XYZxyz(14.1119, 10.1720, 43.8589)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CB3 #AEB34C
analogous
#4C7AB3 #514CB3 #854CB3
triadic
#514CB3 #B3514C #4CB351
tetradic
#514CB3 #B34C7A #AEB34C #4CB385
square
#514CB3 #B34C7A #AEB34C #4CB385
split-complementary
#514CB3 #B3854C #7AB34C
monochromatic
#2A285D #3E3A88 #514CB3 #7B77C5 #A5A2D7

Accessibility & contrast

On white

6.92
#514CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CB3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CB3#FFFFFF#000000##FFFFFF
##514CB31.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#236478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514cb3;
/* rgb */ color: rgb(81, 76, 179);
/* oklch */ color: oklch(48.0% 0.158 280.8);
Tailwind
colors: {
  custom: {
    50: '#8a7eca',
    500: '#514cb3',
    950: '#000000',
  },
}
SCSS
$custom: #514cb3;
$custom-light: #8a7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#514cb3",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 242.913,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.15848,
    "h": 280.8
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#514CB3
secondary
#C2C496
accent
#D058CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #514CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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