#514BB0#514BB0

#514BB0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.156 H 281.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#514BB0
RGBrgb(81, 75, 176)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 57%, 69%)
CMYKcmyk(54%, 57.4%, 0%, 31%)
CIE-LABlab(37.69, 31.01, -53.31)
CIE-LCHlch(37.69, 61.68, 300.19°)
OKLaboklab(47.55% 0.0307 -0.1527)
OKLCHoklch(47.55% 0.156 281.4)
XYZxyz(13.7435, 9.9153, 42.2555)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB0 #AAB04B
analogous
#4B78B0 #514BB0 #844BB0
triadic
#514BB0 #B0514B #4BB051
tetradic
#514BB0 #B04B78 #AAB04B #4BB084
square
#514BB0 #B04B78 #AAB04B #4BB084
split-complementary
#514BB0 #B0844B #78B04B
monochromatic
#2A265A #3D3985 #514BB0 #7974C4 #A29FD6

Accessibility & contrast

On white

7.04
#514BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#514BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514BB0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB0#FFFFFF#000000##FFFFFF
##514BB01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#276276
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514bb0;
/* rgb */ color: rgb(81, 75, 176);
/* oklch */ color: oklch(47.5% 0.156 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a7dc8',
    500: '#514bb0',
    950: '#000000',
  },
}
SCSS
$custom: #514bb0;
$custom-light: #8a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb0",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 243.564,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.15571,
    "h": 281.4
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#514BB0
secondary
#C0C394
accent
#D058C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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