#514BB8#514BB8

#514BB8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.167 H 280.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#514BB8
RGBrgb(81, 75, 184)
HSLhsl(243, 43%, 51%)
HSVhsv(243, 59%, 72%)
CMYKcmyk(56%, 59.2%, 0%, 27.8%)
CIE-LABlab(38.27, 33.59, -57.09)
CIE-LCHlch(38.27, 66.24, 300.47°)
OKLaboklab(48.16% 0.0306 -0.1638)
OKLCHoklch(48.16% 0.167 280.6)
XYZxyz(14.5584, 10.2412, 46.5477)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB8 #B2B84B
analogous
#4B7BB8 #514BB8 #874BB8
triadic
#514BB8 #B8514B #4BB851
tetradic
#514BB8 #B84B7B #B2B84B #4BB887
square
#514BB8 #B84B7B #B2B84B #4BB887
split-complementary
#514BB8 #B8874B #7BB84B
monochromatic
#2A2762 #3D388E #514BB8 #7B77C9 #A6A3DB

Accessibility & contrast

On white

6.89
#514BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#514BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BB8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB8#FFFFFF#000000##FFFFFF
##514BB81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#1D657A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514bb8;
/* rgb */ color: rgb(81, 75, 184);
/* oklch */ color: oklch(48.2% 0.167 280.6);
Tailwind
colors: {
  custom: {
    50: '#8b7dce',
    500: '#514bb8',
    950: '#000000',
  },
}
SCSS
$custom: #514bb8;
$custom-light: #8b7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb8",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 243.303,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.16661,
    "h": 280.6
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#514BB8
secondary
#C5C897
accent
#D355CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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