#514FB2#514FB2

#514FB2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.153 H 279.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#514FB2
RGBrgb(81, 79, 178)
HSLhsl(241, 39%, 50%)
HSVhsv(241, 56%, 70%)
CMYKcmyk(54.5%, 55.6%, 0%, 30.2%)
CIE-LABlab(38.82, 29.16, -52.67)
CIE-LCHlch(38.82, 60.20, 298.97°)
OKLaboklab(48.43% 0.0264 -0.1507)
OKLCHoklch(48.43% 0.153 279.9)
XYZxyz(14.2227, 10.5548, 43.3987)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FB2 #B0B24F
analogous
#4F7EB2 #514FB2 #824FB2
triadic
#514FB2 #B2514F #4FB251
tetradic
#514FB2 #B24F7E #B0B24F #4FB282
square
#514FB2 #B24F7E #B0B24F #4FB282
split-complementary
#514FB2 #B2824F #7EB24F
monochromatic
#2A295E #3D3C88 #514FB2 #7B7AC5 #A5A4D7

Accessibility & contrast

On white

6.75
#514FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#514FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FB2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FB2#FFFFFF#000000##FFFFFF
##514FB21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#246679
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514fb2;
/* rgb */ color: rgb(81, 79, 178);
/* oklch */ color: oklch(48.4% 0.153 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a80ca',
    500: '#514fb2',
    950: '#000000',
  },
}
SCSS
$custom: #514fb2;
$custom-light: #8a80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#514fb2",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 241.212,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.15303,
    "h": 279.9
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#514FB2
secondary
#C4C498
accent
#CF59CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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