#514EAF#514EAF

#514EAF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.150 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#514EAF
RGBrgb(81, 78, 175)
HSLhsl(242, 38%, 50%)
HSVhsv(242, 55%, 69%)
CMYKcmyk(53.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(38.36, 28.81, -51.64)
CIE-LCHlch(38.36, 59.13, 299.16°)
OKLaboklab(48.02% 0.0274 -0.1477)
OKLCHoklch(48.02% 0.15 280.5)
XYZxyz(13.8532, 10.2924, 41.8058)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EAF #ACAF4E
analogous
#4E7BAF #514EAF #824EAF
triadic
#514EAF #AF514E #4EAF51
tetradic
#514EAF #AF4E7B #ACAF4E #4EAF82
square
#514EAF #AF4E7B #ACAF4E #4EAF82
split-complementary
#514EAF #AF824E #7BAF4E
monochromatic
#2A285A #3D3B85 #514EAF #7A78C3 #A3A2D6

Accessibility & contrast

On white

6.87
#514EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#514EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EAF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EAF#FFFFFF#000000##FFFFFF
##514EAF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#286477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514eaf;
/* rgb */ color: rgb(81, 78, 175);
/* oklch */ color: oklch(48.0% 0.150 280.5);
Tailwind
colors: {
  custom: {
    50: '#897fc7',
    500: '#514eaf',
    950: '#000000',
  },
}
SCSS
$custom: #514eaf;
$custom-light: #897fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#514eaf",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 241.856,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.15023,
    "h": 280.5
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#514EAF
secondary
#C1C396
accent
#CE5ACB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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