#514BD2#514BD2

#514BD2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.3% C 0.201 H 278.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#514BD2
RGBrgb(81, 75, 210)
HSLhsl(243, 60%, 56%)
HSVhsv(243, 64%, 82%)
CMYKcmyk(61.4%, 64.3%, 0%, 17.6%)
CIE-LABlab(40.30, 41.98, -68.92)
CIE-LCHlch(40.30, 80.70, 301.35°)
OKLaboklab(50.28% 0.0291 -0.1985)
OKLCHoklch(50.28% 0.201 278.3)
XYZxyz(17.5385, 11.4333, 62.2429)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BD2 #CCD24B
analogous
#4B88D2 #514BD2 #944BD2
triadic
#514BD2 #D2514B #4BD251
tetradic
#514BD2 #D24B88 #CCD24B #4BD294
square
#514BD2 #D24B88 #CCD24B #4BD294
split-complementary
#514BD2 #D2944B #88D24B
monochromatic
#252182 #332DB3 #514BD2 #807CDE #B0ADEA

Accessibility & contrast

On white

6.39
#514BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#514BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BD2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BD2#FFFFFF#000000##FFFFFF
##514BD21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514bd2;
/* rgb */ color: rgb(81, 75, 210);
/* oklch */ color: oklch(50.3% 0.201 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f7ee1',
    500: '#514bd2',
    950: '#000000',
  },
}
SCSS
$custom: #514bd2;
$custom-light: #8f7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#514bd2",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 242.667,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.20064,
    "h": 278.3
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#514BD2
secondary
#D6D8A0
accent
#E345DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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