#514FD5#514FD5

#514FD5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.200 H 277.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#514FD5
RGBrgb(81, 79, 213)
HSLhsl(241, 61%, 57%)
HSVhsv(241, 63%, 84%)
CMYKcmyk(62%, 62.9%, 0%, 16.5%)
CIE-LABlab(41.44, 40.56, -68.77)
CIE-LCHlch(41.44, 79.85, 300.53°)
OKLaboklab(51.19% 0.0255 -0.1981)
OKLCHoklch(51.19% 0.2 277.3)
XYZxyz(18.1957, 12.1440, 64.3230)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD5 #D3D54F
analogous
#4F90D5 #514FD5 #944FD5
triadic
#514FD5 #D5514F #4FD551
tetradic
#514FD5 #D54F90 #D3D54F #4FD594
square
#514FD5 #D54F90 #D3D54F #4FD594
split-complementary
#514FD5 #D5944F #90D54F
monochromatic
#222189 #2F2CBA #514FD5 #8280E1 #B3B2ED

Accessibility & contrast

On white

6.12
#514FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#514FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD5#FFFFFF#000000##FFFFFF
##514FD51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514fd5;
/* rgb */ color: rgb(81, 79, 213);
/* oklch */ color: oklch(51.2% 0.200 277.3);
Tailwind
colors: {
  custom: {
    50: '#9081e3',
    500: '#514fd5',
    950: '#000000',
  },
}
SCSS
$custom: #514fd5;
$custom-light: #9081e3;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd5",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 240.896,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.19973,
    "h": 277.3
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#514FD5
secondary
#DADBA5
accent
#E543E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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