#514FD4#514FD4

#514FD4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.198 H 277.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#514FD4
RGBrgb(81, 79, 212)
HSLhsl(241, 61%, 57%)
HSVhsv(241, 63%, 83%)
CMYKcmyk(61.8%, 62.7%, 0%, 16.9%)
CIE-LABlab(41.36, 40.24, -68.33)
CIE-LCHlch(41.36, 79.30, 300.49°)
OKLaboklab(51.11% 0.0256 -0.1968)
OKLCHoklch(51.11% 0.198 277.4)
XYZxyz(18.0691, 12.0933, 63.6566)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD4 #D2D44F
analogous
#4F90D4 #514FD4 #934FD4
triadic
#514FD4 #D4514F #4FD451
tetradic
#514FD4 #D44F90 #D2D44F #4FD493
square
#514FD4 #D44F90 #D2D44F #4FD493
split-complementary
#514FD4 #D4934F #90D44F
monochromatic
#232187 #2F2DB9 #514FD4 #8280E0 #B2B1EC

Accessibility & contrast

On white

6.14
#514FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#514FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD4#FFFFFF#000000##FFFFFF
##514FD41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514fd4;
/* rgb */ color: rgb(81, 79, 212);
/* oklch */ color: oklch(51.1% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f81e2',
    500: '#514fd4',
    950: '#000000',
  },
}
SCSS
$custom: #514fd4;
$custom-light: #8f81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd4",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 240.902,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.19844,
    "h": 277.4
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#514FD4
secondary
#DADAA4
accent
#E444E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #514FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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