#514ECF#514ECF

#514ECF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.193 H 278.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#514ECF
RGBrgb(81, 78, 207)
HSLhsl(241, 57%, 56%)
HSVhsv(241, 62%, 81%)
CMYKcmyk(60.9%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.74, 39.22, -66.47)
CIE-LCHlch(40.74, 77.18, 300.54°)
OKLaboklab(50.53% 0.0268 -0.1913)
OKLCHoklch(50.53% 0.193 278)
XYZxyz(17.3766, 11.7018, 60.3624)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ECF #CCCF4E
analogous
#4E8BCF #514ECF #914ECF
triadic
#514ECF #CF514E #4ECF51
tetradic
#514ECF #CF4E8B #CCCF4E #4ECF91
square
#514ECF #CF4E8B #CCCF4E #4ECF91
split-complementary
#514ECF #CF914E #8BCF4E
monochromatic
#252380 #3330B0 #514ECF #807EDC #B0AEE9

Accessibility & contrast

On white

6.29
#514ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#514ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ECF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ECF#FFFFFF#000000##FFFFFF
##514ECF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514ecf;
/* rgb */ color: rgb(81, 78, 207);
/* oklch */ color: oklch(50.5% 0.193 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f80df',
    500: '#514ecf',
    950: '#000000',
  },
}
SCSS
$custom: #514ecf;
$custom-light: #8f80df;
$custom-dark: #000000;
JSON
{
  "hex": "#514ecf",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 241.395,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.19319,
    "h": 278
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#514ECF
secondary
#D6D7A2
accent
#E147DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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