#514FD2#514FD2

#514FD2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.196 H 277.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#514FD2
RGBrgb(81, 79, 210)
HSLhsl(241, 59%, 57%)
HSVhsv(241, 62%, 82%)
CMYKcmyk(61.4%, 62.4%, 0%, 17.6%)
CIE-LABlab(41.21, 39.59, -67.44)
CIE-LCHlch(41.21, 78.20, 300.41°)
OKLaboklab(50.94% 0.0257 -0.1942)
OKLCHoklch(50.94% 0.196 277.5)
XYZxyz(17.8184, 11.9931, 62.3362)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD2 #D0D24F
analogous
#4F8FD2 #514FD2 #934FD2
triadic
#514FD2 #D2514F #4FD251
tetradic
#514FD2 #D24F8F #D0D24F #4FD293
square
#514FD2 #D24F8F #D0D24F #4FD293
split-complementary
#514FD2 #D2934F #8FD24F
monochromatic
#232285 #302EB5 #514FD2 #8180DE #B1B0EB

Accessibility & contrast

On white

6.18
#514FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#514FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD2#FFFFFF#000000##FFFFFF
##514FD21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514fd2;
/* rgb */ color: rgb(81, 79, 210);
/* oklch */ color: oklch(50.9% 0.196 277.5);
Tailwind
colors: {
  custom: {
    50: '#8f81e1',
    500: '#514fd2',
    950: '#000000',
  },
}
SCSS
$custom: #514fd2;
$custom-light: #8f81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd2",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 240.916,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.19587,
    "h": 277.5
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#514FD2
secondary
#D8D9A4
accent
#E245E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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