#514BBB#514BBB

#514BBB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.171 H 280.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#514BBB
RGBrgb(81, 75, 187)
HSLhsl(243, 45%, 51%)
HSVhsv(243, 60%, 73%)
CMYKcmyk(56.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(38.50, 34.56, -58.49)
CIE-LCHlch(38.50, 67.94, 300.58°)
OKLaboklab(48.4% 0.0305 -0.1679)
OKLCHoklch(48.4% 0.171 280.3)
XYZxyz(14.8762, 10.3684, 48.2215)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BBB #B5BB4B
analogous
#4B7DBB #514BBB #894BBB
triadic
#514BBB #BB514B #4BBB51
tetradic
#514BBB #BB4B7D #B5BB4B #4BBB89
square
#514BBB #BB4B7D #B5BB4B #4BBB89
split-complementary
#514BBB #BB894B #7DBB4B
monochromatic
#2A2665 #3C3792 #514BBB #7C77CC #A7A4DD

Accessibility & contrast

On white

6.83
#514BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#514BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BBB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BBB#FFFFFF#000000##FFFFFF
##514BBB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514bbb;
/* rgb */ color: rgb(81, 75, 187);
/* oklch */ color: oklch(48.4% 0.171 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b7dd0',
    500: '#514bbb',
    950: '#000000',
  },
}
SCSS
$custom: #514bbb;
$custom-light: #8b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#514bbb",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 243.214,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.17064,
    "h": 280.3
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#514BBB
secondary
#C7CA98
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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