#514EBB#514EBB

#514EBB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.167 H 279.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#514EBB
RGBrgb(81, 78, 187)
HSLhsl(242, 44%, 52%)
HSVhsv(242, 58%, 73%)
CMYKcmyk(56.7%, 58.3%, 0%, 26.7%)
CIE-LABlab(39.22, 32.71, -57.32)
CIE-LCHlch(39.22, 66.00, 299.71°)
OKLaboklab(48.93% 0.0275 -0.1644)
OKLCHoklch(48.93% 0.167 279.5)
XYZxyz(15.0845, 10.7850, 48.2909)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBB #B8BB4E
analogous
#4E82BB #514EBB #874EBB
triadic
#514EBB #BB514E #4EBB51
tetradic
#514EBB #BB4E82 #B8BB4E #4EBB87
square
#514EBB #BB4E82 #B8BB4E #4EBB87
split-complementary
#514EBB #BB874E #82BB4E
monochromatic
#292867 #3B3993 #514EBB #7C7ACC #A8A6DD

Accessibility & contrast

On white

6.65
#514EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#514EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EBB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EBB#FFFFFF#000000##FFFFFF
##514EBB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#17687D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514ebb;
/* rgb */ color: rgb(81, 78, 187);
/* oklch */ color: oklch(48.9% 0.167 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b80d0',
    500: '#514ebb',
    950: '#000000',
  },
}
SCSS
$custom: #514ebb;
$custom-light: #8b80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#514ebb",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 241.651,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.16672,
    "h": 279.5
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#514EBB
secondary
#C9CA9B
accent
#D454D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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