#514FD3#514FD3

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

Color values

HEX#514FD3
RGBrgb(81, 79, 211)
HSLhsl(241, 60%, 57%)
HSVhsv(241, 63%, 83%)
CMYKcmyk(61.6%, 62.6%, 0%, 17.3%)
CIE-LABlab(41.28, 39.92, -67.89)
CIE-LCHlch(41.28, 78.75, 300.45°)
OKLaboklab(51.02% 0.0257 -0.1955)
OKLCHoklch(51.02% 0.197 277.5)
XYZxyz(17.9434, 12.0430, 62.9944)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD3 #D1D34F
analogous
#4F8FD3 #514FD3 #934FD3
triadic
#514FD3 #D3514F #4FD351
tetradic
#514FD3 #D34F8F #D1D34F #4FD393
square
#514FD3 #D34F8F #D1D34F #4FD393
split-complementary
#514FD3 #D3934F #8FD34F
monochromatic
#232286 #302EB7 #514FD3 #8180DF #B2B1EB

Accessibility & contrast

On white

6.16
#514FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#514FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD3#FFFFFF#000000##FFFFFF
##514FD31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514fd3;
/* rgb */ color: rgb(81, 79, 211);
/* oklch */ color: oklch(51.0% 0.197 277.5);
Tailwind
colors: {
  custom: {
    50: '#8f81e1',
    500: '#514fd3',
    950: '#000000',
  },
}
SCSS
$custom: #514fd3;
$custom-light: #8f81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd3",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 240.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.19716,
    "h": 277.5
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#514FD3
secondary
#D9DAA4
accent
#E345E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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