#514FBD#514FBD

#514FBD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.168 H 279.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#514FBD
RGBrgb(81, 79, 189)
HSLhsl(241, 45%, 53%)
HSVhsv(241, 58%, 74%)
CMYKcmyk(57.1%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.60, 32.74, -57.86)
CIE-LCHlch(39.60, 66.48, 299.50°)
OKLaboklab(49.26% 0.0265 -0.166)
OKLCHoklch(49.26% 0.168 279.1)
XYZxyz(15.3717, 11.0144, 49.4502)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FBD #BBBD4F
analogous
#4F84BD #514FBD #884FBD
triadic
#514FBD #BD514F #4FBD51
tetradic
#514FBD #BD4F84 #BBBD4F #4FBD88
square
#514FBD #BD4F84 #BBBD4F #4FBD88
split-complementary
#514FBD #BD884F #84BD4F
monochromatic
#29286A #3A3896 #514FBD #7D7CCE #A9A8DE

Accessibility & contrast

On white

6.56
#514FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#514FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FBD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FBD#FFFFFF#000000##FFFFFF
##514FBD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#13697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514fbd;
/* rgb */ color: rgb(81, 79, 189);
/* oklch */ color: oklch(49.3% 0.168 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c80d2',
    500: '#514fbd',
    950: '#000000',
  },
}
SCSS
$custom: #514fbd;
$custom-light: #8c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#514fbd",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 241.091,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.16812,
    "h": 279.1
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#514FBD
secondary
#CBCC9C
accent
#D553D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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