#514BB6#514BB6

#514BB6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.164 H 280.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#514BB6
RGBrgb(81, 75, 182)
HSLhsl(243, 42%, 50%)
HSVhsv(243, 59%, 71%)
CMYKcmyk(55.5%, 58.8%, 0%, 28.6%)
CIE-LABlab(38.12, 32.95, -56.15)
CIE-LCHlch(38.12, 65.11, 300.40°)
OKLaboklab(48.01% 0.0306 -0.161)
OKLCHoklch(48.01% 0.164 280.8)
XYZxyz(14.3503, 10.1580, 45.4514)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB6 #B0B64B
analogous
#4B7BB6 #514BB6 #864BB6
triadic
#514BB6 #B6514B #4BB651
tetradic
#514BB6 #B64B7B #B0B64B #4BB686
square
#514BB6 #B64B7B #B0B64B #4BB686
split-complementary
#514BB6 #B6864B #7BB64B
monochromatic
#2A2760 #3D388B #514BB6 #7B77C8 #A5A2D9

Accessibility & contrast

On white

6.93
#514BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BB6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB6#FFFFFF#000000##FFFFFF
##514BB61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#206479
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514bb6;
/* rgb */ color: rgb(81, 75, 182);
/* oklch */ color: oklch(48.0% 0.164 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dcd',
    500: '#514bb6',
    950: '#000000',
  },
}
SCSS
$custom: #514bb6;
$custom-light: #8b7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb6",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 243.364,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.16391,
    "h": 280.8
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#514BB6
secondary
#C4C697
accent
#D256CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #514BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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