#514CC5#514CC5

#514CC5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.183 H 279.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#514CC5
RGBrgb(81, 76, 197)
HSLhsl(242, 51%, 54%)
HSVhsv(242, 61%, 77%)
CMYKcmyk(58.9%, 61.4%, 0%, 22.7%)
CIE-LABlab(39.49, 37.18, -62.71)
CIE-LCHlch(39.49, 72.91, 300.67°)
OKLaboklab(49.37% 0.0291 -0.1803)
OKLCHoklch(49.37% 0.183 279.2)
XYZxyz(16.0526, 10.9483, 54.0798)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC5 #C0C54C
analogous
#4C83C5 #514CC5 #8D4CC5
triadic
#514CC5 #C5514C #4CC551
tetradic
#514CC5 #C54C83 #C0C54C #4CC58D
square
#514CC5 #C54C83 #C0C54C #4CC58D
split-complementary
#514CC5 #C58D4C #83C54C
monochromatic
#282572 #3834A0 #514CC5 #7E7AD4 #ABA8E3

Accessibility & contrast

On white

6.58
#514CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#514CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC5#FFFFFF#000000##FFFFFF
##514CC51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514cc5;
/* rgb */ color: rgb(81, 76, 197);
/* oklch */ color: oklch(49.4% 0.183 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ed7',
    500: '#514cc5',
    950: '#000000',
  },
}
SCSS
$custom: #514cc5;
$custom-light: #8d7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc5",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 242.479,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.18263,
    "h": 279.2
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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