#514CD8#514CD8

#514CD8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.207 H 277.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#514CD8
RGBrgb(81, 76, 216)
HSLhsl(242, 64%, 57%)
HSVhsv(242, 65%, 85%)
CMYKcmyk(62.5%, 64.8%, 0%, 15.3%)
CIE-LABlab(41.02, 43.32, -71.19)
CIE-LCHlch(41.02, 83.34, 301.32°)
OKLaboklab(50.95% 0.0277 -0.2052)
OKLCHoklch(50.95% 0.207 277.7)
XYZxyz(18.3684, 11.8746, 66.2765)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD8 #D3D84C
analogous
#4C8DD8 #514CD8 #974CD8
triadic
#514CD8 #D8514C #4CD851
tetradic
#514CD8 #D84C8D #D3D84C #4CD897
square
#514CD8 #D84C8D #D3D84C #4CD897
split-complementary
#514CD8 #D8974C #8DD84C
monochromatic
#221E8B #2F29BE #514CD8 #827EE3 #B3B1EE

Accessibility & contrast

On white

6.22
#514CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#514CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD8#FFFFFF#000000##FFFFFF
##514CD81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514cd8;
/* rgb */ color: rgb(81, 76, 216);
/* oklch */ color: oklch(51.0% 0.207 277.7);
Tailwind
colors: {
  custom: {
    50: '#907fe5',
    500: '#514cd8',
    950: '#000000',
  },
}
SCSS
$custom: #514cd8;
$custom-light: #907fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd8",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 242.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50954,
    "c": 0.20706,
    "h": 277.7
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#514CD8
secondary
#DADCA4
accent
#E741E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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