#514BB7#514BB7

#514BB7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.165 H 280.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#514BB7
RGBrgb(81, 75, 183)
HSLhsl(243, 43%, 51%)
HSVhsv(243, 59%, 72%)
CMYKcmyk(55.7%, 59%, 0%, 28.2%)
CIE-LABlab(38.20, 33.27, -56.62)
CIE-LCHlch(38.20, 65.67, 300.44°)
OKLaboklab(48.08% 0.0306 -0.1624)
OKLCHoklch(48.08% 0.165 280.7)
XYZxyz(14.4540, 10.1995, 45.9976)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB7 #B1B74B
analogous
#4B7BB7 #514BB7 #874BB7
triadic
#514BB7 #B7514B #4BB751
tetradic
#514BB7 #B74B7B #B1B74B #4BB787
square
#514BB7 #B74B7B #B1B74B #4BB787
split-complementary
#514BB7 #B7874B #7BB74B
monochromatic
#2A2761 #3D388D #514BB7 #7B77C8 #A6A2DA

Accessibility & contrast

On white

6.91
#514BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#514BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BB7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB7#FFFFFF#000000##FFFFFF
##514BB71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#1E657A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514bb7;
/* rgb */ color: rgb(81, 75, 183);
/* oklch */ color: oklch(48.1% 0.165 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b7dcd',
    500: '#514bb7',
    950: '#000000',
  },
}
SCSS
$custom: #514bb7;
$custom-light: #8b7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb7",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 243.333,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.16526,
    "h": 280.7
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#514BB7
secondary
#C4C797
accent
#D355CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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