#514BBD#514BBD

#514BBD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.173 H 280.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#514BBD
RGBrgb(81, 75, 189)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(57.1%, 60.3%, 0%, 25.9%)
CIE-LABlab(38.65, 35.21, -59.42)
CIE-LCHlch(38.65, 69.07, 300.65°)
OKLaboklab(48.55% 0.0305 -0.1706)
OKLCHoklch(48.55% 0.173 280.1)
XYZxyz(15.0918, 10.4546, 49.3569)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BBD #B7BD4B
analogous
#4B7EBD #514BBD #8A4BBD
triadic
#514BBD #BD514B #4BBD51
tetradic
#514BBD #BD4B7E #B7BD4B #4BBD8A
square
#514BBD #BD4B7E #B7BD4B #4BBD8A
split-complementary
#514BBD #BD8A4B #7EBD4B
monochromatic
#292668 #3B3694 #514BBD #7C78CD #A8A5DE

Accessibility & contrast

On white

6.79
#514BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#514BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BBD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BBD#FFFFFF#000000##FFFFFF
##514BBD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#14667D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514bbd;
/* rgb */ color: rgb(81, 75, 189);
/* oklch */ color: oklch(48.6% 0.173 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c7dd2',
    500: '#514bbd',
    950: '#000000',
  },
}
SCSS
$custom: #514bbd;
$custom-light: #8c7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#514bbd",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 243.158,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.17332,
    "h": 280.1
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#514BBD
secondary
#C8CB99
accent
#D652CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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