#514BBF#514BBF

#514BBF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.7% C 0.176 H 279.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#514BBF
RGBrgb(81, 75, 191)
HSLhsl(243, 48%, 52%)
HSVhsv(243, 61%, 75%)
CMYKcmyk(57.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(38.80, 35.85, -60.34)
CIE-LCHlch(38.80, 70.19, 300.72°)
OKLaboklab(48.71% 0.0304 -0.1733)
OKLCHoklch(48.71% 0.176 279.9)
XYZxyz(15.3104, 10.5420, 50.5081)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BBF #B9BF4B
analogous
#4B7FBF #514BBF #8B4BBF
triadic
#514BBF #BF514B #4BBF51
tetradic
#514BBF #BF4B7F #B9BF4B #4BBF8B
square
#514BBF #BF4B7F #B9BF4B #4BBF8B
split-complementary
#514BBF #BF8B4B #7FBF4B
monochromatic
#29266A #3B3697 #514BBF #7D78CF #A8A5DF

Accessibility & contrast

On white

6.76
#514BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#514BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BBF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BBF#FFFFFF#000000##FFFFFF
##514BBF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#0F677E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514bbf;
/* rgb */ color: rgb(81, 75, 191);
/* oklch */ color: oklch(48.7% 0.176 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c7dd3',
    500: '#514bbf',
    950: '#000000',
  },
}
SCSS
$custom: #514bbf;
$custom-light: #8c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#514bbf",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 243.103,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.17597,
    "h": 279.9
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#514BBF
secondary
#CACC9A
accent
#D751D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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