#514BC5#514BC5

#514BC5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.184 H 279.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#514BC5
RGBrgb(81, 75, 197)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 62%, 77%)
CMYKcmyk(58.9%, 61.9%, 0%, 22.7%)
CIE-LABlab(39.26, 37.79, -63.09)
CIE-LCHlch(39.26, 73.54, 300.92°)
OKLaboklab(49.2% 0.0301 -0.1814)
OKLCHoklch(49.2% 0.184 279.4)
XYZxyz(15.9843, 10.8116, 54.0570)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC5 #BFC54B
analogous
#4B82C5 #514BC5 #8E4BC5
triadic
#514BC5 #C5514B #4BC551
tetradic
#514BC5 #C54B82 #BFC54B #4BC58E
square
#514BC5 #C54B82 #BFC54B #4BC58E
split-complementary
#514BC5 #C58E4B #82C54B
monochromatic
#282471 #39339F #514BC5 #7E79D4 #AAA8E3

Accessibility & contrast

On white

6.64
#514BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#514BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC5#FFFFFF#000000##FFFFFF
##514BC51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc5;
/* rgb */ color: rgb(81, 75, 197);
/* oklch */ color: oklch(49.2% 0.184 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ed7',
    500: '#514bc5',
    950: '#000000',
  },
}
SCSS
$custom: #514bc5;
$custom-light: #8d7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc5",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 242.951,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.18387,
    "h": 279.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#514BC5
secondary
#CED09C
accent
#DB4DD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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