#514CBB#514CBB

#514CBB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.169 H 280.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#514CBB
RGBrgb(81, 76, 187)
HSLhsl(243, 45%, 52%)
HSVhsv(243, 59%, 73%)
CMYKcmyk(56.7%, 59.4%, 0%, 26.7%)
CIE-LABlab(38.73, 33.95, -58.10)
CIE-LCHlch(38.73, 67.29, 300.29°)
OKLaboklab(48.57% 0.0295 -0.1667)
OKLCHoklch(48.57% 0.169 280)
XYZxyz(14.9446, 10.5051, 48.2443)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CBB #B6BB4C
analogous
#4C7FBB #514CBB #894CBB
triadic
#514CBB #BB514C #4CBB51
tetradic
#514CBB #BB4C7F #B6BB4C #4CBB89
square
#514CBB #BB4C7F #B6BB4C #4CBB89
split-complementary
#514CBB #BB894C #7FBB4C
monochromatic
#2A2766 #3C3892 #514CBB #7C78CC #A7A5DD

Accessibility & contrast

On white

6.77
#514CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#514CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CBB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CBB#FFFFFF#000000##FFFFFF
##514CBB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#18667C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514cbb;
/* rgb */ color: rgb(81, 76, 187);
/* oklch */ color: oklch(48.6% 0.169 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b7ed0',
    500: '#514cbb',
    950: '#000000',
  },
}
SCSS
$custom: #514cbb;
$custom-light: #8b7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#514cbb",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 242.703,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.16934,
    "h": 280
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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