#514FB4#514FB4

#514FB4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.156 H 279.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#514FB4
RGBrgb(81, 79, 180)
HSLhsl(241, 40%, 51%)
HSVhsv(241, 56%, 71%)
CMYKcmyk(55%, 56.1%, 0%, 29.4%)
CIE-LABlab(38.96, 29.81, -53.62)
CIE-LCHlch(38.96, 61.35, 299.07°)
OKLaboklab(48.58% 0.0264 -0.1535)
OKLCHoklch(48.58% 0.156 279.8)
XYZxyz(14.4250, 10.6357, 44.4639)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FB4 #B2B44F
analogous
#4F7FB4 #514FB4 #834FB4
triadic
#514FB4 #B4514F #4FB451
tetradic
#514FB4 #B44F7F #B2B44F #4FB483
square
#514FB4 #B44F7F #B2B44F #4FB483
split-complementary
#514FB4 #B4834F #7FB44F
monochromatic
#2A2960 #3D3B8B #514FB4 #7B7AC6 #A6A5D9

Accessibility & contrast

On white

6.71
#514FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#514FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FB4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FB4#FFFFFF#000000##FFFFFF
##514FB41.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#22667A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514fb4;
/* rgb */ color: rgb(81, 79, 180);
/* oklch */ color: oklch(48.6% 0.156 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a80cb',
    500: '#514fb4',
    950: '#000000',
  },
}
SCSS
$custom: #514fb4;
$custom-light: #8a80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#514fb4",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 241.188,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.1558,
    "h": 279.8
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#514FB4
secondary
#C5C699
accent
#D058CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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