#514DDD#514DDD

#514DDD is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.5% C 0.212 H 277.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#514DDD
RGBrgb(81, 77, 221)
HSLhsl(242, 68%, 58%)
HSVhsv(242, 65%, 87%)
CMYKcmyk(63.3%, 65.2%, 0%, 13.3%)
CIE-LABlab(41.65, 44.34, -73.01)
CIE-LCHlch(41.65, 85.42, 301.27°)
OKLaboklab(51.54% 0.0264 -0.2105)
OKLCHoklch(51.54% 0.212 277.2)
XYZxyz(19.0941, 12.2760, 69.7559)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DDD #D9DD4D
analogous
#4D91DD #514DDD #994DDD
triadic
#514DDD #DD514D #4DDD51
tetradic
#514DDD #DD4D91 #D9DD4D #4DDD99
square
#514DDD #DD4D91 #D9DD4D #4DDD99
split-complementary
#514DDD #DD994D #91DD4D
monochromatic
#1F1C93 #2A26C7 #514DDD #8380E7 #B5B4F1

Accessibility & contrast

On white

6.08
#514DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#514DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DDD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DDD#FFFFFF#000000##FFFFFF
##514DDD1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514ddd;
/* rgb */ color: rgb(81, 77, 221);
/* oklch */ color: oklch(51.5% 0.212 277.2);
Tailwind
colors: {
  custom: {
    50: '#917fe9',
    500: '#514ddd',
    950: '#000000',
  },
}
SCSS
$custom: #514ddd;
$custom-light: #917fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#514ddd",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 241.667,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.21218,
    "h": 277.2
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#514DDD
secondary
#DEDFA6
accent
#EB3DE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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