#514DEC#514DEC

#514DEC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.9% C 0.231 H 276.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#514DEC
RGBrgb(81, 77, 236)
HSLhsl(242, 81%, 61%)
HSVhsv(242, 67%, 93%)
CMYKcmyk(65.7%, 67.4%, 0%, 7.5%)
CIE-LABlab(42.93, 49.13, -79.43)
CIE-LCHlch(42.93, 93.40, 301.74°)
OKLaboklab(52.86% 0.0247 -0.2293)
OKLCHoklch(52.86% 0.231 276.1)
XYZxyz(21.1826, 13.1114, 80.7551)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DEC #E8EC4D
analogous
#4D99EC #514DEC #A04DEC
triadic
#514DEC #EC514D #4DEC51
tetradic
#514DEC #EC4D99 #E8EC4D #4DECA0
square
#514DEC #EC4D99 #E8EC4D #4DECA0
split-complementary
#514DEC #ECA04D #99EC4D
monochromatic
#1612AC #1D18E4 #514DEC #8784F2 #BDBCF8

Accessibility & contrast

On white

5.80
#514DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#514DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DEC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DEC#FFFFFF#000000##FFFFFF
##514DEC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514dec;
/* rgb */ color: rgb(81, 77, 236);
/* oklch */ color: oklch(52.9% 0.231 276.1);
Tailwind
colors: {
  custom: {
    50: '#9480f3',
    500: '#514dec',
    950: '#000000',
  },
}
SCSS
$custom: #514dec;
$custom-light: #9480f3;
$custom-dark: #000000;
JSON
{
  "hex": "#514dec",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 241.509,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.23066,
    "h": 276.1
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#514DEC
secondary
#E7E8AD
accent
#DD08D8
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #514DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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