#514BBC#514BBC

#514BBC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.172 H 280.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#514BBC
RGBrgb(81, 75, 188)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(56.9%, 60.1%, 0%, 26.3%)
CIE-LABlab(38.57, 34.88, -58.95)
CIE-LCHlch(38.57, 68.50, 300.61°)
OKLaboklab(48.47% 0.0305 -0.1693)
OKLCHoklch(48.47% 0.172 280.2)
XYZxyz(14.9837, 10.4113, 48.7872)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BBC #B6BC4B
analogous
#4B7EBC #514BBC #8A4BBC
triadic
#514BBC #BC514B #4BBC51
tetradic
#514BBC #BC4B7E #B6BC4B #4BBC8A
square
#514BBC #BC4B7E #B6BC4B #4BBC8A
split-complementary
#514BBC #BC8A4B #7EBC4B
monochromatic
#2A2666 #3C3793 #514BBC #7C78CD #A7A4DD

Accessibility & contrast

On white

6.81
#514BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#514BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BBC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BBC#FFFFFF#000000##FFFFFF
##514BBC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#16667C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514bbc;
/* rgb */ color: rgb(81, 75, 188);
/* oklch */ color: oklch(48.5% 0.172 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c7dd1',
    500: '#514bbc',
    950: '#000000',
  },
}
SCSS
$custom: #514bbc;
$custom-light: #8c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#514bbc",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 243.186,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.17198,
    "h": 280.2
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#514BBC
secondary
#C8CA99
accent
#D552CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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