#514FD8#514FD8

#514FD8 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.4% C 0.204 H 277.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#514FD8
RGBrgb(81, 79, 216)
HSLhsl(241, 64%, 58%)
HSVhsv(241, 63%, 85%)
CMYKcmyk(62.5%, 63.4%, 0%, 15.3%)
CIE-LABlab(41.69, 41.54, -70.10)
CIE-LCHlch(41.69, 81.48, 300.65°)
OKLaboklab(51.44% 0.0253 -0.202)
OKLCHoklch(51.44% 0.204 277.1)
XYZxyz(18.5800, 12.2977, 66.3470)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD8 #D6D84F
analogous
#4F91D8 #514FD8 #954FD8
triadic
#514FD8 #D8514F #4FD851
tetradic
#514FD8 #D84F91 #D6D84F #4FD895
square
#514FD8 #D84F91 #D6D84F #4FD895
split-complementary
#514FD8 #D8954F #91D84F
monochromatic
#211F8D #2D2ABF #514FD8 #8381E3 #B4B3EE

Accessibility & contrast

On white

6.07
#514FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#514FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD8#FFFFFF#000000##FFFFFF
##514FD81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514fd8;
/* rgb */ color: rgb(81, 79, 216);
/* oklch */ color: oklch(51.4% 0.204 277.1);
Tailwind
colors: {
  custom: {
    50: '#9081e5',
    500: '#514fd8',
    950: '#000000',
  },
}
SCSS
$custom: #514fd8;
$custom-light: #9081e5;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd8",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 240.876,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.20356,
    "h": 277.1
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#514FD8
secondary
#DCDDA6
accent
#E741E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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