#514BC2#514BC2

#514BC2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.180 H 279.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#514BC2
RGBrgb(81, 75, 194)
HSLhsl(243, 49%, 53%)
HSVhsv(243, 61%, 76%)
CMYKcmyk(58.2%, 61.3%, 0%, 23.9%)
CIE-LABlab(39.03, 36.82, -61.72)
CIE-LCHlch(39.03, 71.87, 300.82°)
OKLaboklab(48.95% 0.0302 -0.1774)
OKLCHoklch(48.95% 0.18 279.7)
XYZxyz(15.6439, 10.6754, 52.2647)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC2 #BCC24B
analogous
#4B81C2 #514BC2 #8C4BC2
triadic
#514BC2 #C2514B #4BC251
tetradic
#514BC2 #C24B81 #BCC24B #4BC28C
square
#514BC2 #C24B81 #BCC24B #4BC28C
split-complementary
#514BC2 #C28C4B #81C24B
monochromatic
#29256D #3A359B #514BC2 #7D79D1 #A9A6E1

Accessibility & contrast

On white

6.70
#514BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#514BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC2#FFFFFF#000000##FFFFFF
##514BC21.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#05687F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc2;
/* rgb */ color: rgb(81, 75, 194);
/* oklch */ color: oklch(49.0% 0.180 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d7ed5',
    500: '#514bc2',
    950: '#000000',
  },
}
SCSS
$custom: #514bc2;
$custom-light: #8d7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc2",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 243.025,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.17994,
    "h": 279.7
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#514BC2
secondary
#CCCE9B
accent
#D94FD2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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