#514CC1#514CC1

#514CC1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.177 H 279.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#514CC1
RGBrgb(81, 76, 193)
HSLhsl(243, 49%, 53%)
HSVhsv(243, 61%, 76%)
CMYKcmyk(58%, 60.6%, 0%, 24.3%)
CIE-LABlab(39.19, 35.89, -60.88)
CIE-LCHlch(39.19, 70.67, 300.52°)
OKLaboklab(49.05% 0.0293 -0.1749)
OKLCHoklch(49.05% 0.177 279.5)
XYZxyz(15.6004, 10.7674, 51.6980)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC1 #BCC14C
analogous
#4C81C1 #514CC1 #8B4CC1
triadic
#514CC1 #C1514C #4CC151
tetradic
#514CC1 #C14C81 #BCC14C #4CC18B
square
#514CC1 #C14C81 #BCC14C #4CC18B
split-complementary
#514CC1 #C18B4C #81C14C
monochromatic
#29266D #3A359A #514CC1 #7D79D1 #A9A7E0

Accessibility & contrast

On white

6.66
#514CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#514CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC1#FFFFFF#000000##FFFFFF
##514CC11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#08687F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514cc1;
/* rgb */ color: rgb(81, 76, 193);
/* oklch */ color: oklch(49.0% 0.177 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c7ed5',
    500: '#514cc1',
    950: '#000000',
  },
}
SCSS
$custom: #514cc1;
$custom-light: #8c7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc1",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 242.564,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.17735,
    "h": 279.5
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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