#514BD7#514BD7

#514BD7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.207 H 277.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#514BD7
RGBrgb(81, 75, 215)
HSLhsl(243, 64%, 57%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(62.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(40.71, 43.59, -71.12)
CIE-LCHlch(40.71, 83.41, 301.50°)
OKLaboklab(50.71% 0.0286 -0.205)
OKLCHoklch(50.71% 0.207 277.9)
XYZxyz(18.1712, 11.6863, 65.5749)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BD7 #D1D74B
analogous
#4B8BD7 #514BD7 #974BD7
triadic
#514BD7 #D7514B #4BD751
tetradic
#514BD7 #D74B8B #D1D74B #4BD797
square
#514BD7 #D74B8B #D1D74B #4BD797
split-complementary
#514BD7 #D7974B #8BD74B
monochromatic
#231E89 #302ABB #514BD7 #817DE2 #B2AFED

Accessibility & contrast

On white

6.29
#514BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#514BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BD7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BD7#FFFFFF#000000##FFFFFF
##514BD71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514bd7;
/* rgb */ color: rgb(81, 75, 215);
/* oklch */ color: oklch(50.7% 0.207 277.9);
Tailwind
colors: {
  custom: {
    50: '#907ee4',
    500: '#514bd7',
    950: '#000000',
  },
}
SCSS
$custom: #514bd7;
$custom-light: #907ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#514bd7",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 242.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.20695,
    "h": 277.9
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#514BD7
secondary
#D9DBA2
accent
#E741E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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