#514EBF#514EBF

#514EBF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.172 H 279.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#514EBF
RGBrgb(81, 78, 191)
HSLhsl(242, 47%, 53%)
HSVhsv(242, 59%, 75%)
CMYKcmyk(57.6%, 59.2%, 0%, 25.1%)
CIE-LABlab(39.51, 34.01, -59.18)
CIE-LCHlch(39.51, 68.26, 299.88°)
OKLaboklab(49.24% 0.0275 -0.1699)
OKLCHoklch(49.24% 0.172 279.2)
XYZxyz(15.5187, 10.9586, 50.5776)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBF #BCBF4E
analogous
#4E83BF #514EBF #894EBF
triadic
#514EBF #BF514E #4EBF51
tetradic
#514EBF #BF4E83 #BCBF4E #4EBF89
square
#514EBF #BF4E83 #BCBF4E #4EBF89
split-complementary
#514EBF #BF894E #83BF4E
monochromatic
#29276C #3A3799 #514EBF #7D7BCF #A9A8E0

Accessibility & contrast

On white

6.58
#514EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#514EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EBF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EBF#FFFFFF#000000##FFFFFF
##514EBF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#0E697F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ebf;
/* rgb */ color: rgb(81, 78, 191);
/* oklch */ color: oklch(49.2% 0.172 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c80d3',
    500: '#514ebf',
    950: '#000000',
  },
}
SCSS
$custom: #514ebf;
$custom-light: #8c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#514ebf",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 241.593,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.17211,
    "h": 279.2
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#514EBF
secondary
#CCCD9C
accent
#D751D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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