#514CE5#514CE5

#514CE5 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.223 H 276.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#514CE5
RGBrgb(81, 76, 229)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(64.6%, 66.8%, 0%, 10.2%)
CIE-LABlab(42.11, 47.48, -76.81)
CIE-LCHlch(42.11, 90.30, 301.72°)
OKLaboklab(52.09% 0.0263 -0.2217)
OKLCHoklch(52.09% 0.223 276.8)
XYZxyz(20.1160, 12.5737, 75.4804)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE5 #E0E54C
analogous
#4C93E5 #514CE5 #9E4CE5
triadic
#514CE5 #E5514C #4CE551
tetradic
#514CE5 #E54C93 #E0E54C #4CE59E
square
#514CE5 #E54C93 #E0E54C #4CE59E
split-complementary
#514CE5 #E59E4C #93E54C
monochromatic
#1C179F #251FD5 #514CE5 #8581ED #B9B7F5

Accessibility & contrast

On white

5.97
#514CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#514CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE5#FFFFFF#000000##FFFFFF
##514CE51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514ce5;
/* rgb */ color: rgb(81, 76, 229);
/* oklch */ color: oklch(52.1% 0.223 276.8);
Tailwind
colors: {
  custom: {
    50: '#937fee',
    500: '#514ce5',
    950: '#000000',
  },
}
SCSS
$custom: #514ce5;
$custom-light: #937fee;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce5",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 241.961,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.22321,
    "h": 276.8
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#514CE5
secondary
#E2E4A9
accent
#F137EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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