#514DAF#514DAF

#514DAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.152 H 280.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#514DAF
RGBrgb(81, 77, 175)
HSLhsl(242, 39%, 49%)
HSVhsv(242, 56%, 69%)
CMYKcmyk(53.7%, 56%, 0%, 31.4%)
CIE-LABlab(38.11, 29.44, -52.04)
CIE-LCHlch(38.11, 59.79, 299.50°)
OKLaboklab(47.84% 0.0285 -0.1489)
OKLCHoklch(47.84% 0.152 280.8)
XYZxyz(13.7827, 10.1514, 41.7823)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DAF #ABAF4D
analogous
#4D7AAF #514DAF #824DAF
triadic
#514DAF #AF514D #4DAF51
tetradic
#514DAF #AF4D7A #ABAF4D #4DAF82
square
#514DAF #AF4D7A #ABAF4D #4DAF82
split-complementary
#514DAF #AF824D #7AAF4D
monochromatic
#2A285A #3D3A85 #514DAF #7976C3 #A3A1D6

Accessibility & contrast

On white

6.93
#514DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DAF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DAF#FFFFFF#000000##FFFFFF
##514DAF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#286376
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514daf;
/* rgb */ color: rgb(81, 77, 175);
/* oklch */ color: oklch(47.8% 0.152 280.8);
Tailwind
colors: {
  custom: {
    50: '#897fc7',
    500: '#514daf',
    950: '#000000',
  },
}
SCSS
$custom: #514daf;
$custom-light: #897fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#514daf",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 242.449,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.1516,
    "h": 280.8
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#514DAF
secondary
#C1C395
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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