#514FB1#514FB1

#514FB1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.152 H 280.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#514FB1
RGBrgb(81, 79, 177)
HSLhsl(241, 39%, 50%)
HSVhsv(241, 55%, 69%)
CMYKcmyk(54.2%, 55.4%, 0%, 30.6%)
CIE-LABlab(38.75, 28.83, -52.19)
CIE-LCHlch(38.75, 59.63, 298.92°)
OKLaboklab(48.36% 0.0264 -0.1493)
OKLCHoklch(48.36% 0.152 280)
XYZxyz(14.1227, 10.5147, 42.8718)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FB1 #AFB14F
analogous
#4F7EB1 #514FB1 #824FB1
triadic
#514FB1 #B1514F #4FB151
tetradic
#514FB1 #B14F7E #AFB14F #4FB182
square
#514FB1 #B14F7E #AFB14F #4FB182
split-complementary
#514FB1 #B1824F #7EB14F
monochromatic
#2A295D #3D3C87 #514FB1 #7B79C4 #A5A4D7

Accessibility & contrast

On white

6.77
#514FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#514FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FB1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FB1#FFFFFF#000000##FFFFFF
##514FB11.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#256578
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514fb1;
/* rgb */ color: rgb(81, 79, 177);
/* oklch */ color: oklch(48.4% 0.152 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a80c9',
    500: '#514fb1',
    950: '#000000',
  },
}
SCSS
$custom: #514fb1;
$custom-light: #8a80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#514fb1",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 241.224,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.15164,
    "h": 280
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#514FB1
secondary
#C3C498
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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