#514DBB#514DBB

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

Color values

HEX#514DBB
RGBrgb(81, 77, 187)
HSLhsl(242, 45%, 52%)
HSVhsv(242, 59%, 73%)
CMYKcmyk(56.7%, 58.8%, 0%, 26.7%)
CIE-LABlab(38.97, 33.33, -57.71)
CIE-LCHlch(38.97, 66.65, 300.01°)
OKLaboklab(48.75% 0.0285 -0.1656)
OKLCHoklch(48.75% 0.168 279.8)
XYZxyz(15.0140, 10.6439, 48.2674)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DBB #B7BB4D
analogous
#4D80BB #514DBB #884DBB
triadic
#514DBB #BB514D #4DBB51
tetradic
#514DBB #BB4D80 #B7BB4D #4DBB88
square
#514DBB #BB4D80 #B7BB4D #4DBB88
split-complementary
#514DBB #BB884D #80BB4D
monochromatic
#292766 #3B3893 #514DBB #7C79CC #A8A6DD

Accessibility & contrast

On white

6.71
#514DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#514DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DBB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DBB#FFFFFF#000000##FFFFFF
##514DBB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#17677C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514dbb;
/* rgb */ color: rgb(81, 77, 187);
/* oklch */ color: oklch(48.7% 0.168 279.8);
Tailwind
colors: {
  custom: {
    50: '#8b7fd0',
    500: '#514dbb',
    950: '#000000',
  },
}
SCSS
$custom: #514dbb;
$custom-light: #8b7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#514dbb",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 242.182,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.16803,
    "h": 279.8
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#514DBB
secondary
#C8CA9A
accent
#D453D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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