#514DAB#514DAB

#514DAB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.146 H 281.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#514DAB
RGBrgb(81, 77, 171)
HSLhsl(243, 38%, 49%)
HSVhsv(243, 55%, 67%)
CMYKcmyk(52.6%, 55%, 0%, 32.9%)
CIE-LABlab(37.84, 28.15, -50.11)
CIE-LCHlch(37.84, 57.48, 299.32°)
OKLaboklab(47.54% 0.0284 -0.1432)
OKLCHoklch(47.54% 0.146 281.2)
XYZxyz(13.3956, 9.9966, 39.7439)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DAB #A7AB4D
analogous
#4D78AB #514DAB #804DAB
triadic
#514DAB #AB514D #4DAB51
tetradic
#514DAB #AB4D78 #A7AB4D #4DAB80
square
#514DAB #AB4D78 #A7AB4D #4DAB80
split-complementary
#514DAB #AB804D #78AB4D
monochromatic
#292757 #3D3A81 #514DAB #7875C1 #A19FD4

Accessibility & contrast

On white

7.00
#514DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#514DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DAB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DAB#FFFFFF#000000##FFFFFF
##514DAB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAE
Deuteranopia (green-blind)
#0456A9
Tritanopia (blue-blind)
#2C6274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514dab;
/* rgb */ color: rgb(81, 77, 171);
/* oklch */ color: oklch(47.5% 0.146 281.2);
Tailwind
colors: {
  custom: {
    50: '#897fc5',
    500: '#514dab',
    950: '#000000',
  },
}
SCSS
$custom: #514dab;
$custom-light: #897fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#514dab",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 242.553,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.14601,
    "h": 281.2
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#514DAB
secondary
#BFC093
accent
#CE5AC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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