#514DD4#514DD4

#514DD4 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.201 H 277.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#514DD4
RGBrgb(81, 77, 212)
HSLhsl(242, 61%, 57%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(61.8%, 63.7%, 0%, 16.9%)
CIE-LABlab(40.91, 41.44, -69.07)
CIE-LCHlch(40.91, 80.55, 300.96°)
OKLaboklab(50.78% 0.0272 -0.199)
OKLCHoklch(50.78% 0.201 277.8)
XYZxyz(17.9271, 11.8092, 63.6093)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD4 #D0D44D
analogous
#4D8DD4 #514DD4 #954DD4
triadic
#514DD4 #D4514D #4DD451
tetradic
#514DD4 #D44D8D #D0D44D #4DD495
square
#514DD4 #D44D8D #D0D44D #4DD495
split-complementary
#514DD4 #D4954D #8DD44D
monochromatic
#232086 #302CB7 #514DD4 #817EE0 #B1B0EC

Accessibility & contrast

On white

6.25
#514DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#514DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DD4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD4#FFFFFF#000000##FFFFFF
##514DD41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514dd4;
/* rgb */ color: rgb(81, 77, 212);
/* oklch */ color: oklch(50.8% 0.201 277.8);
Tailwind
colors: {
  custom: {
    50: '#907fe2',
    500: '#514dd4',
    950: '#000000',
  },
}
SCSS
$custom: #514dd4;
$custom-light: #907fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd4",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 241.778,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.20082,
    "h": 277.8
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#514DD4
secondary
#D8DAA3
accent
#E444DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #514DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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