#514FA8#514FA8

#514FA8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.139 H 280.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#514FA8
RGBrgb(81, 79, 168)
HSLhsl(241, 36%, 48%)
HSVhsv(241, 53%, 66%)
CMYKcmyk(51.8%, 53%, 0%, 34.1%)
CIE-LABlab(38.14, 25.92, -47.84)
CIE-LCHlch(38.14, 54.41, 298.45°)
OKLaboklab(47.71% 0.0259 -0.1365)
OKLCHoklch(47.71% 0.139 280.8)
XYZxyz(13.2550, 10.1677, 38.3023)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA8 #A6A84F
analogous
#4F79A8 #514FA8 #7D4FA8
triadic
#514FA8 #A8514F #4FA851
tetradic
#514FA8 #A84F79 #A6A84F #4FA87D
square
#514FA8 #A84F79 #A6A84F #4FA87D
split-complementary
#514FA8 #A87D4F #79A84F
monochromatic
#292855 #3D3B7E #514FA8 #7776BE #A19FD2

Accessibility & contrast

On white

6.92
#514FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA8#FFFFFF#000000##FFFFFF
##514FA81.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAB
Deuteranopia (green-blind)
#1657A6
Tritanopia (blue-blind)
#2E6374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514fa8;
/* rgb */ color: rgb(81, 79, 168);
/* oklch */ color: oklch(47.7% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#8880c2',
    500: '#514fa8',
    950: '#000000',
  },
}
SCSS
$custom: #514fa8;
$custom-light: #8880c2;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa8",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 241.348,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.13896,
    "h": 280.8
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#514FA8
secondary
#BEBF94
accent
#CC5CCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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