#514ABC#514ABC

#514ABC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.173 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#514ABC
RGBrgb(81, 74, 188)
HSLhsl(244, 46%, 51%)
HSVhsv(244, 61%, 74%)
CMYKcmyk(56.9%, 60.6%, 0%, 26.3%)
CIE-LABlab(38.33, 35.50, -59.34)
CIE-LCHlch(38.33, 69.15, 300.89°)
OKLaboklab(48.3% 0.0315 -0.1704)
OKLCHoklch(48.3% 0.173 280.5)
XYZxyz(14.9164, 10.2767, 48.7648)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ABC #B5BC4A
analogous
#4A7CBC #514ABC #8A4ABC
triadic
#514ABC #BC514A #4ABC51
tetradic
#514ABC #BC4A7C #B5BC4A #4ABC8A
square
#514ABC #BC4A7C #B5BC4A #4ABC8A
split-complementary
#514ABC #BC8A4A #7CBC4A
monochromatic
#2A2666 #3C3693 #514ABC #7C77CD #A7A3DD

Accessibility & contrast

On white

6.87
#514ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#514ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ABC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ABC#FFFFFF#000000##FFFFFF
##514ABC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#16667C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514abc;
/* rgb */ color: rgb(81, 74, 188);
/* oklch */ color: oklch(48.3% 0.173 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c7dd1',
    500: '#514abc',
    950: '#000000',
  },
}
SCSS
$custom: #514abc;
$custom-light: #8c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#514abc",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 243.684,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.17327,
    "h": 280.5
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#514ABC
secondary
#C7CA98
accent
#D652CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #514ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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