#514AC8#514AC8

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

Color values

HEX#514AC8
RGBrgb(81, 74, 200)
HSLhsl(243, 53%, 54%)
HSVhsv(243, 63%, 78%)
CMYKcmyk(59.5%, 63%, 0%, 21.6%)
CIE-LABlab(39.27, 39.36, -64.82)
CIE-LCHlch(39.27, 75.83, 301.27°)
OKLaboklab(49.28% 0.0308 -0.1865)
OKLCHoklch(49.28% 0.189 279.4)
XYZxyz(16.2641, 10.8158, 55.8630)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AC8 #C1C84A
analogous
#4A82C8 #514AC8 #904AC8
triadic
#514AC8 #C8514A #4AC851
tetradic
#514AC8 #C84A82 #C1C84A #4AC890
square
#514AC8 #C84A82 #C1C84A #4AC890
split-complementary
#514AC8 #C8904A #82C84A
monochromatic
#282374 #3832A3 #514AC8 #7E79D6 #ABA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514AC8#FFFFFF#000000##FFFFFF
##514AC81.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)
#0061CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514ac8;
/* rgb */ color: rgb(81, 74, 200);
/* oklch */ color: oklch(49.3% 0.189 279.4);
Tailwind
colors: {
  custom: {
    50: '#8e7dda',
    500: '#514ac8',
    950: '#000000',
  },
}
SCSS
$custom: #514ac8;
$custom-light: #8e7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#514ac8",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 243.333,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.18902,
    "h": 279.4
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#514AC8
secondary
#CFD29C
accent
#DD4BD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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