#514FC0#514FC0

#514FC0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.172 H 278.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#514FC0
RGBrgb(81, 79, 192)
HSLhsl(241, 47%, 53%)
HSVhsv(241, 59%, 75%)
CMYKcmyk(57.8%, 58.9%, 0%, 24.7%)
CIE-LABlab(39.83, 33.72, -59.26)
CIE-LCHlch(39.83, 68.18, 299.64°)
OKLaboklab(49.49% 0.0265 -0.1701)
OKLCHoklch(49.49% 0.172 278.8)
XYZxyz(15.7007, 11.1460, 51.1830)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FC0 #BEC04F
analogous
#4F85C0 #514FC0 #894FC0
triadic
#514FC0 #C0514F #4FC051
tetradic
#514FC0 #C04F85 #BEC04F #4FC089
square
#514FC0 #C04F85 #BEC04F #4FC089
split-complementary
#514FC0 #C0894F #85C04F
monochromatic
#28276D #39379A #514FC0 #7E7CD0 #AAA9E0

Accessibility & contrast

On white

6.50
#514FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#514FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FC0
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FC0#FFFFFF#000000##FFFFFF
##514FC01.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#0A6A80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514fc0;
/* rgb */ color: rgb(81, 79, 192);
/* oklch */ color: oklch(49.5% 0.172 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c80d4',
    500: '#514fc0',
    950: '#000000',
  },
}
SCSS
$custom: #514fc0;
$custom-light: #8c80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#514fc0",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 241.062,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.17217,
    "h": 278.8
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#514FC0
secondary
#CDCE9D
accent
#D751D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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