#514CE3#514CE3

#514CE3 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.221 H 276.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#514CE3
RGBrgb(81, 76, 227)
HSLhsl(242, 73%, 59%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(64.3%, 66.5%, 0%, 11%)
CIE-LABlab(41.94, 46.84, -75.96)
CIE-LCHlch(41.94, 89.24, 301.66°)
OKLaboklab(51.91% 0.0265 -0.2191)
OKLCHoklch(51.91% 0.221 276.9)
XYZxyz(19.8384, 12.4626, 74.0182)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE3 #DEE34C
analogous
#4C93E3 #514CE3 #9D4CE3
triadic
#514CE3 #E3514C #4CE351
tetradic
#514CE3 #E34C93 #DEE34C #4CE39D
square
#514CE3 #E34C93 #DEE34C #4CE39D
split-complementary
#514CE3 #E39D4C #93E34C
monochromatic
#1D189C #2721D1 #514CE3 #8481EB #B8B6F4

Accessibility & contrast

On white

6.01
#514CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#514CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE3#FFFFFF#000000##FFFFFF
##514CE31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#005CE0
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514ce3;
/* rgb */ color: rgb(81, 76, 227);
/* oklch */ color: oklch(51.9% 0.221 276.9);
Tailwind
colors: {
  custom: {
    50: '#927fed',
    500: '#514ce3',
    950: '#000000',
  },
}
SCSS
$custom: #514ce3;
$custom-light: #927fed;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce3",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 241.987,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.22075,
    "h": 276.9
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#514CE3
secondary
#E1E3A8
accent
#F038EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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