#514BCB#514BCB

#514BCB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.192 H 278.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#514BCB
RGBrgb(81, 75, 203)
HSLhsl(243, 55%, 55%)
HSVhsv(243, 63%, 80%)
CMYKcmyk(60.1%, 63.1%, 0%, 20.4%)
CIE-LABlab(39.74, 39.73, -65.80)
CIE-LCHlch(39.74, 76.86, 301.12°)
OKLaboklab(49.69% 0.0297 -0.1894)
OKLCHoklch(49.69% 0.192 278.9)
XYZxyz(16.6855, 11.0921, 57.7501)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BCB #C5CB4B
analogous
#4B85CB #514BCB #914BCB
triadic
#514BCB #CB514B #4BCB51
tetradic
#514BCB #CB4B85 #C5CB4B #4BCB91
square
#514BCB #CB4B85 #C5CB4B #4BCB91
split-complementary
#514BCB #CB914B #85CB4B
monochromatic
#272379 #3631A8 #514BCB #7F7AD9 #ADAAE6

Accessibility & contrast

On white

6.52
#514BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#514BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BCB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BCB#FFFFFF#000000##FFFFFF
##514BCB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514bcb;
/* rgb */ color: rgb(81, 75, 203);
/* oklch */ color: oklch(49.7% 0.192 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e7edc',
    500: '#514bcb',
    950: '#000000',
  },
}
SCSS
$custom: #514bcb;
$custom-light: #8e7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#514bcb",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 242.813,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.19167,
    "h": 278.9
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#514BCB
secondary
#D1D49E
accent
#DF49D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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