#514CBE#514CBE

#514CBE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.173 H 279.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#514CBE
RGBrgb(81, 76, 190)
HSLhsl(243, 47%, 52%)
HSVhsv(243, 60%, 75%)
CMYKcmyk(57.4%, 60%, 0%, 25.5%)
CIE-LABlab(38.96, 34.92, -59.50)
CIE-LCHlch(38.96, 68.99, 300.41°)
OKLaboklab(48.81% 0.0294 -0.1708)
OKLCHoklch(48.81% 0.173 279.8)
XYZxyz(15.2691, 10.6349, 49.9533)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CBE #B9BE4C
analogous
#4C80BE #514CBE #8A4CBE
triadic
#514CBE #BE514C #4CBE51
tetradic
#514CBE #BE4C80 #B9BE4C #4CBE8A
square
#514CBE #BE4C80 #B9BE4C #4CBE8A
split-complementary
#514CBE #BE8A4C #80BE4C
monochromatic
#292669 #3B3796 #514CBE #7D79CE #A8A6DF

Accessibility & contrast

On white

6.72
#514CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#514CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CBE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CBE#FFFFFF#000000##FFFFFF
##514CBE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#11677D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514cbe;
/* rgb */ color: rgb(81, 76, 190);
/* oklch */ color: oklch(48.8% 0.173 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c7ed2',
    500: '#514cbe',
    950: '#000000',
  },
}
SCSS
$custom: #514cbe;
$custom-light: #8c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#514cbe",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 242.632,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.17336,
    "h": 279.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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