#514CA8#514CA8

#514CA8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.143 H 281.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#514CA8
RGBrgb(81, 76, 168)
HSLhsl(243, 38%, 48%)
HSVhsv(243, 55%, 66%)
CMYKcmyk(51.8%, 54.8%, 0%, 34.1%)
CIE-LABlab(37.38, 27.82, -49.06)
CIE-LCHlch(37.38, 56.40, 299.55°)
OKLaboklab(47.14% 0.0294 -0.1401)
OKLCHoklch(47.14% 0.143 281.8)
XYZxyz(13.0435, 9.7446, 38.2318)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CA8 #A3A84C
analogous
#4C75A8 #514CA8 #7F4CA8
triadic
#514CA8 #A8514C #4CA851
tetradic
#514CA8 #A84C75 #A3A84C #4CA87F
square
#514CA8 #A84C75 #A3A84C #4CA87F
split-complementary
#514CA8 #A87F4C #75A84C
monochromatic
#282654 #3D397E #514CA8 #7672BF #9F9CD2

Accessibility & contrast

On white

7.12
#514CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#514CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514CA8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CA8#FFFFFF#000000##FFFFFF
##514CA81.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#0A55A6
Tritanopia (blue-blind)
#2E6172
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514ca8;
/* rgb */ color: rgb(81, 76, 168);
/* oklch */ color: oklch(47.1% 0.143 281.8);
Tailwind
colors: {
  custom: {
    50: '#887ec2',
    500: '#514ca8',
    950: '#000000',
  },
}
SCSS
$custom: #514ca8;
$custom-light: #887ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ca8",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 243.261,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.1432,
    "h": 281.8
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#514CA8
secondary
#BCBF91
accent
#CE5AC7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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