#514DE8#514DE8

#514DE8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.226 H 276.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#514DE8
RGBrgb(81, 77, 232)
HSLhsl(242, 77%, 61%)
HSVhsv(242, 67%, 91%)
CMYKcmyk(65.1%, 66.8%, 0%, 9%)
CIE-LABlab(42.58, 47.86, -77.74)
CIE-LCHlch(42.58, 91.29, 301.62°)
OKLaboklab(52.51% 0.0252 -0.2244)
OKLCHoklch(52.51% 0.226 276.4)
XYZxyz(20.6079, 12.8815, 77.7287)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DE8 #E4E84D
analogous
#4D97E8 #514DE8 #9E4DE8
triadic
#514DE8 #E8514D #4DE851
tetradic
#514DE8 #E84D97 #E4E84D #4DE89E
square
#514DE8 #E84D97 #E4E84D #4DE89E
split-complementary
#514DE8 #E89E4D #97E84D
monochromatic
#1915A5 #211CDB #514DE8 #8683EF #BBB9F6

Accessibility & contrast

On white

5.87
#514DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#514DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DE8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DE8#FFFFFF#000000##FFFFFF
##514DE81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514de8;
/* rgb */ color: rgb(81, 77, 232);
/* oklch */ color: oklch(52.5% 0.226 276.4);
Tailwind
colors: {
  custom: {
    50: '#9380f1',
    500: '#514de8',
    950: '#000000',
  },
}
SCSS
$custom: #514de8;
$custom-light: #9380f1;
$custom-dark: #000000;
JSON
{
  "hex": "#514de8",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 241.548,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.22578,
    "h": 276.4
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#514DE8
secondary
#E4E6AB
accent
#D90CD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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