#514EBA#514EBA

#514EBA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.165 H 279.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#514EBA
RGBrgb(81, 78, 186)
HSLhsl(242, 44%, 52%)
HSVhsv(242, 58%, 73%)
CMYKcmyk(56.5%, 58.1%, 0%, 27.1%)
CIE-LABlab(39.14, 32.38, -56.85)
CIE-LCHlch(39.14, 65.43, 299.67°)
OKLaboklab(48.85% 0.0275 -0.1631)
OKLCHoklch(48.85% 0.165 279.6)
XYZxyz(14.9779, 10.7423, 47.7291)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBA #B7BA4E
analogous
#4E81BA #514EBA #874EBA
triadic
#514EBA #BA514E #4EBA51
tetradic
#514EBA #BA4E81 #B7BA4E #4EBA87
square
#514EBA #BA4E81 #B7BA4E #4EBA87
split-complementary
#514EBA #BA874E #81BA4E
monochromatic
#292866 #3B3992 #514EBA #7C7ACB #A8A6DC

Accessibility & contrast

On white

6.67
#514EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#514EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EBA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EBA#FFFFFF#000000##FFFFFF
##514EBA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#19677C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514eba;
/* rgb */ color: rgb(81, 78, 186);
/* oklch */ color: oklch(48.9% 0.165 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b80cf',
    500: '#514eba',
    950: '#000000',
  },
}
SCSS
$custom: #514eba;
$custom-light: #8b80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#514eba",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 241.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.16537,
    "h": 279.6
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#514EBA
secondary
#C8CA9A
accent
#D454D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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