#514BC1#514BC1

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

Color values

HEX#514BC1
RGBrgb(81, 75, 193)
HSLhsl(243, 49%, 53%)
HSVhsv(243, 61%, 76%)
CMYKcmyk(58%, 61.1%, 0%, 24.3%)
CIE-LABlab(38.95, 36.50, -61.26)
CIE-LCHlch(38.95, 71.31, 300.79°)
OKLaboklab(48.87% 0.0303 -0.176)
OKLCHoklch(48.87% 0.179 279.8)
XYZxyz(15.5320, 10.6307, 51.6752)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC1 #BBC14B
analogous
#4B80C1 #514BC1 #8C4BC1
triadic
#514BC1 #C1514B #4BC151
tetradic
#514BC1 #C14B80 #BBC14B #4BC18C
square
#514BC1 #C14B80 #BBC14B #4BC18C
split-complementary
#514BC1 #C18C4B #80C14B
monochromatic
#29256C #3A359A #514BC1 #7D79D1 #A9A6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514BC1#FFFFFF#000000##FFFFFF
##514BC11.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)
#0060C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#08687F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc1;
/* rgb */ color: rgb(81, 75, 193);
/* oklch */ color: oklch(48.9% 0.179 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c7ed5',
    500: '#514bc1',
    950: '#000000',
  },
}
SCSS
$custom: #514bc1;
$custom-light: #8c7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc1",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 243.051,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.17862,
    "h": 279.8
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#514BC1
secondary
#CBCE9A
accent
#D84FD1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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