#514CE2#514CE2

#514CE2 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.220 H 277.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#514CE2
RGBrgb(81, 76, 226)
HSLhsl(242, 72%, 59%)
HSVhsv(242, 66%, 89%)
CMYKcmyk(64.2%, 66.4%, 0%, 11.4%)
CIE-LABlab(41.86, 46.52, -75.53)
CIE-LCHlch(41.86, 88.71, 301.63°)
OKLaboklab(51.82% 0.0266 -0.2179)
OKLCHoklch(51.82% 0.22 277)
XYZxyz(19.7008, 12.4076, 73.2935)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE2 #DDE24C
analogous
#4C92E2 #514CE2 #9C4CE2
triadic
#514CE2 #E2514C #4CE251
tetradic
#514CE2 #E24C92 #DDE24C #4CE29C
square
#514CE2 #E24C92 #DDE24C #4CE29C
split-complementary
#514CE2 #E29C4C #92E24C
monochromatic
#1D199B #2722CF #514CE2 #8481EB #B7B5F3

Accessibility & contrast

On white

6.03
#514CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#514CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE2#FFFFFF#000000##FFFFFF
##514CE21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514ce2;
/* rgb */ color: rgb(81, 76, 226);
/* oklch */ color: oklch(51.8% 0.220 277.0);
Tailwind
colors: {
  custom: {
    50: '#927fec',
    500: '#514ce2',
    950: '#000000',
  },
}
SCSS
$custom: #514ce2;
$custom-light: #927fec;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce2",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 242,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.21952,
    "h": 277
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#514CE2
secondary
#E0E2A8
accent
#EF39E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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