#514FC4#514FC4

#514FC4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.178 H 278.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#514FC4
RGBrgb(81, 79, 196)
HSLhsl(241, 50%, 54%)
HSVhsv(241, 60%, 77%)
CMYKcmyk(58.7%, 59.7%, 0%, 23.1%)
CIE-LABlab(40.12, 35.02, -61.10)
CIE-LCHlch(40.12, 70.43, 299.82°)
OKLaboklab(49.81% 0.0264 -0.1756)
OKLCHoklch(49.81% 0.178 278.5)
XYZxyz(16.1500, 11.3257, 53.5489)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FC4 #C2C44F
analogous
#4F88C4 #514FC4 #8C4FC4
triadic
#514FC4 #C4514F #4FC451
tetradic
#514FC4 #C44F88 #C2C44F #4FC48C
square
#514FC4 #C44F88 #C2C44F #4FC48C
split-complementary
#514FC4 #C48C4F #88C44F
monochromatic
#282672 #3736A0 #514FC4 #7E7DD3 #ACABE3

Accessibility & contrast

On white

6.43
#514FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514FC4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FC4#FFFFFF#000000##FFFFFF
##514FC41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514fc4;
/* rgb */ color: rgb(81, 79, 196);
/* oklch */ color: oklch(49.8% 0.178 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d80d7',
    500: '#514fc4',
    950: '#000000',
  },
}
SCSS
$custom: #514fc4;
$custom-light: #8d80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#514fc4",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 241.026,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17752,
    "h": 278.5
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#514FC4
secondary
#D0D09E
accent
#D94ED7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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