#514CC8#514CC8

#514CC8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.187 H 278.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#514CC8
RGBrgb(81, 76, 200)
HSLhsl(242, 53%, 54%)
HSVhsv(242, 62%, 78%)
CMYKcmyk(59.5%, 62%, 0%, 21.6%)
CIE-LABlab(39.73, 38.16, -64.07)
CIE-LCHlch(39.73, 74.57, 300.77°)
OKLaboklab(49.61% 0.029 -0.1843)
OKLCHoklch(49.61% 0.187 278.9)
XYZxyz(16.3998, 11.0872, 55.9082)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC8 #C3C84C
analogous
#4C85C8 #514CC8 #8F4CC8
triadic
#514CC8 #C8514C #4CC851
tetradic
#514CC8 #C84C85 #C3C84C #4CC88F
square
#514CC8 #C84C85 #C3C84C #4CC88F
split-complementary
#514CC8 #C88F4C #85C84C
monochromatic
#272475 #3732A4 #514CC8 #7F7BD6 #ACAAE5

Accessibility & contrast

On white

6.53
#514CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#514CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC8#FFFFFF#000000##FFFFFF
##514CC81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514cc8;
/* rgb */ color: rgb(81, 76, 200);
/* oklch */ color: oklch(49.6% 0.187 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e7eda',
    500: '#514cc8',
    950: '#000000',
  },
}
SCSS
$custom: #514cc8;
$custom-light: #8e7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc8",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 242.419,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.18655,
    "h": 278.9
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#514CC8
secondary
#D0D29E
accent
#DC4BD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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