#514DCB#514DCB

#514DCB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.189 H 278.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#514DCB
RGBrgb(81, 77, 203)
HSLhsl(242, 55%, 55%)
HSVhsv(242, 62%, 80%)
CMYKcmyk(60.1%, 62.1%, 0%, 20.4%)
CIE-LABlab(40.19, 38.52, -65.05)
CIE-LCHlch(40.19, 75.60, 300.63°)
OKLaboklab(50.03% 0.0279 -0.1872)
OKLCHoklch(50.03% 0.189 278.5)
XYZxyz(16.8233, 11.3676, 57.7960)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DCB #C7CB4D
analogous
#4D88CB #514DCB #904DCB
triadic
#514DCB #CB514D #4DCB51
tetradic
#514DCB #CB4D88 #C7CB4D #4DCB90
square
#514DCB #CB4D88 #C7CB4D #4DCB90
split-complementary
#514DCB #CB904D #88CB4D
monochromatic
#26247A #3531A9 #514DCB #7F7CD9 #AEACE7

Accessibility & contrast

On white

6.41
#514DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#514DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DCB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DCB#FFFFFF#000000##FFFFFF
##514DCB1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514dcb;
/* rgb */ color: rgb(81, 77, 203);
/* oklch */ color: oklch(50.0% 0.189 278.5);
Tailwind
colors: {
  custom: {
    50: '#8e7fdc',
    500: '#514dcb',
    950: '#000000',
  },
}
SCSS
$custom: #514dcb;
$custom-light: #8e7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#514dcb",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 241.905,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.18923,
    "h": 278.5
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#514DCB
secondary
#D3D49F
accent
#DE4AD9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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