#514EA9#514EA9

#514EA9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.142 H 281.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#514EA9
RGBrgb(81, 78, 169)
HSLhsl(242, 37%, 48%)
HSVhsv(242, 54%, 66%)
CMYKcmyk(52.1%, 53.8%, 0%, 33.7%)
CIE-LABlab(37.95, 26.87, -48.73)
CIE-LCHlch(37.95, 55.65, 298.87°)
OKLaboklab(47.59% 0.0271 -0.1392)
OKLCHoklch(47.59% 0.142 281)
XYZxyz(13.2770, 10.0619, 38.7710)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA9 #A6A94E
analogous
#4E78A9 #514EA9 #7E4EA9
triadic
#514EA9 #A9514E #4EA951
tetradic
#514EA9 #A94E78 #A6A94E #4EA97E
square
#514EA9 #A94E78 #A6A94E #4EA97E
split-complementary
#514EA9 #A97E4E #78A94E
monochromatic
#292755 #3D3B7F #514EA9 #7775BF #A19FD3

Accessibility & contrast

On white

6.97
#514EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#514EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EA9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EA9#FFFFFF#000000##FFFFFF
##514EA91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#2D6274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514ea9;
/* rgb */ color: rgb(81, 78, 169);
/* oklch */ color: oklch(47.6% 0.142 281.0);
Tailwind
colors: {
  custom: {
    50: '#897fc3',
    500: '#514ea9',
    950: '#000000',
  },
}
SCSS
$custom: #514ea9;
$custom-light: #897fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea9",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 241.978,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.14179,
    "h": 281
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#514EA9
secondary
#BEBF93
accent
#CD5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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