#514DBC#514DBC

#514DBC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.169 H 279.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#514DBC
RGBrgb(81, 77, 188)
HSLhsl(242, 45%, 52%)
HSVhsv(242, 59%, 74%)
CMYKcmyk(56.9%, 59%, 0%, 26.3%)
CIE-LABlab(39.05, 33.65, -58.18)
CIE-LCHlch(39.05, 67.21, 300.05°)
OKLaboklab(48.83% 0.0285 -0.167)
OKLCHoklch(48.83% 0.169 279.7)
XYZxyz(15.1215, 10.6869, 48.8332)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DBC #B8BC4D
analogous
#4D81BC #514DBC #894DBC
triadic
#514DBC #BC514D #4DBC51
tetradic
#514DBC #BC4D81 #B8BC4D #4DBC89
square
#514DBC #BC4D81 #B8BC4D #4DBC89
split-complementary
#514DBC #BC894D #81BC4D
monochromatic
#292768 #3B3894 #514DBC #7C79CD #A8A6DD

Accessibility & contrast

On white

6.69
#514DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#514DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DBC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DBC#FFFFFF#000000##FFFFFF
##514DBC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#15677D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514dbc;
/* rgb */ color: rgb(81, 77, 188);
/* oklch */ color: oklch(48.8% 0.169 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b7fd1',
    500: '#514dbc',
    950: '#000000',
  },
}
SCSS
$custom: #514dbc;
$custom-light: #8b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#514dbc",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 242.162,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.16938,
    "h": 279.7
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#514DBC
secondary
#C9CB9A
accent
#D553D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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