#514DBA#514DBA

#514DBA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.167 H 279.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#514DBA
RGBrgb(81, 77, 186)
HSLhsl(242, 44%, 52%)
HSVhsv(242, 59%, 73%)
CMYKcmyk(56.5%, 58.6%, 0%, 27.1%)
CIE-LABlab(38.90, 33.00, -57.25)
CIE-LCHlch(38.90, 66.08, 299.96°)
OKLaboklab(48.67% 0.0285 -0.1642)
OKLCHoklch(48.67% 0.167 279.9)
XYZxyz(14.9074, 10.6013, 47.7056)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DBA #B6BA4D
analogous
#4D80BA #514DBA #884DBA
triadic
#514DBA #BA514D #4DBA51
tetradic
#514DBA #BA4D80 #B6BA4D #4DBA88
square
#514DBA #BA4D80 #B6BA4D #4DBA88
split-complementary
#514DBA #BA884D #80BA4D
monochromatic
#2A2765 #3C3891 #514DBA #7C79CB #A7A5DC

Accessibility & contrast

On white

6.73
#514DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#514DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DBA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DBA#FFFFFF#000000##FFFFFF
##514DBA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#19677C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514dba;
/* rgb */ color: rgb(81, 77, 186);
/* oklch */ color: oklch(48.7% 0.167 279.9);
Tailwind
colors: {
  custom: {
    50: '#8b7fcf',
    500: '#514dba',
    950: '#000000',
  },
}
SCSS
$custom: #514dba;
$custom-light: #8b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#514dba",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 242.202,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.16668,
    "h": 279.9
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#514DBA
secondary
#C8C999
accent
#D454CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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