#514FDF#514FDF

#514FDF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.212 H 276.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#514FDF
RGBrgb(81, 79, 223)
HSLhsl(241, 69%, 59%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(63.7%, 64.6%, 0%, 12.5%)
CIE-LABlab(42.26, 43.81, -73.16)
CIE-LCHlch(42.26, 85.27, 300.91°)
OKLaboklab(52.04% 0.0247 -0.211)
OKLCHoklch(52.04% 0.212 276.7)
XYZxyz(19.5043, 12.6674, 71.2149)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FDF #DDDF4F
analogous
#4F95DF #514FDF #994FDF
triadic
#514FDF #DF514F #4FDF51
tetradic
#514FDF #DF4F95 #DDDF4F #4FDF99
square
#514FDF #DF4F95 #DDDF4F #4FDF99
split-complementary
#514FDF #DF994F #95DF4F
monochromatic
#1D1C98 #2725CC #514FDF #8483E8 #B7B7F2

Accessibility & contrast

On white

5.94
#514FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#514FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FDF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FDF#FFFFFF#000000##FFFFFF
##514FDF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514fdf;
/* rgb */ color: rgb(81, 79, 223);
/* oklch */ color: oklch(52.0% 0.212 276.7);
Tailwind
colors: {
  custom: {
    50: '#9181ea',
    500: '#514fdf',
    950: '#000000',
  },
}
SCSS
$custom: #514fdf;
$custom-light: #9181ea;
$custom-dark: #000000;
JSON
{
  "hex": "#514fdf",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 240.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.2124,
    "h": 276.7
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#514FDF
secondary
#E0E1A9
accent
#EC3CEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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