#514FBF#514FBF

#514FBF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.171 H 278.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#514FBF
RGBrgb(81, 79, 191)
HSLhsl(241, 47%, 53%)
HSVhsv(241, 59%, 75%)
CMYKcmyk(57.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.75, 33.39, -58.79)
CIE-LCHlch(39.75, 67.61, 299.60°)
OKLaboklab(49.42% 0.0265 -0.1687)
OKLCHoklch(49.42% 0.171 278.9)
XYZxyz(15.5903, 11.1018, 50.6014)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FBF #BDBF4F
analogous
#4F85BF #514FBF #894FBF
triadic
#514FBF #BF514F #4FBF51
tetradic
#514FBF #BF4F85 #BDBF4F #4FBF89
square
#514FBF #BF4F85 #BDBF4F #4FBF89
split-complementary
#514FBF #BF894F #85BF4F
monochromatic
#29276C #393899 #514FBF #7D7CCF #AAA9E0

Accessibility & contrast

On white

6.52
#514FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#514FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FBF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FBF#FFFFFF#000000##FFFFFF
##514FBF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#0D6A7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514fbf;
/* rgb */ color: rgb(81, 79, 191);
/* oklch */ color: oklch(49.4% 0.171 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c80d3',
    500: '#514fbf',
    950: '#000000',
  },
}
SCSS
$custom: #514fbf;
$custom-light: #8c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#514fbf",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 241.071,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.17081,
    "h": 278.9
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#514FBF
secondary
#CCCD9D
accent
#D651D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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