#514BD8#514BD8

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

Color values

HEX#514BD8
RGBrgb(81, 75, 216)
HSLhsl(243, 64%, 57%)
HSVhsv(243, 65%, 85%)
CMYKcmyk(62.5%, 65.3%, 0%, 15.3%)
CIE-LABlab(40.80, 43.91, -71.55)
CIE-LCHlch(40.80, 83.95, 301.53°)
OKLaboklab(50.79% 0.0285 -0.2062)
OKLCHoklch(50.79% 0.208 277.9)
XYZxyz(18.3001, 11.7379, 66.2537)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BD8 #D2D84B
analogous
#4B8CD8 #514BD8 #984BD8
triadic
#514BD8 #D8514B #4BD851
tetradic
#514BD8 #D84B8C #D2D84B #4BD898
square
#514BD8 #D84B8C #D2D84B #4BD898
split-complementary
#514BD8 #D8984B #8CD84B
monochromatic
#231E8B #2F29BD #514BD8 #827DE3 #B2B0EE

Accessibility & contrast

On white

6.27
#514BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#514BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BD8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BD8#FFFFFF#000000##FFFFFF
##514BD81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514bd8;
/* rgb */ color: rgb(81, 75, 216);
/* oklch */ color: oklch(50.8% 0.208 277.9);
Tailwind
colors: {
  custom: {
    50: '#907ee5',
    500: '#514bd8',
    950: '#000000',
  },
}
SCSS
$custom: #514bd8;
$custom-light: #907ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#514bd8",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 242.553,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.20821,
    "h": 277.9
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#514BD8
secondary
#DADCA3
accent
#E740E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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