#514FE5#514FE5

#514FE5 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.220 H 276.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#514FE5
RGBrgb(81, 79, 229)
HSLhsl(241, 74%, 60%)
HSVhsv(241, 66%, 90%)
CMYKcmyk(64.6%, 65.5%, 0%, 10.2%)
CIE-LABlab(42.76, 45.74, -75.75)
CIE-LCHlch(42.76, 88.49, 301.12°)
OKLaboklab(52.55% 0.0241 -0.2186)
OKLCHoklch(52.55% 0.22 276.3)
XYZxyz(20.3276, 12.9967, 75.5509)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE5 #E3E54F
analogous
#4F98E5 #514FE5 #9C4FE5
triadic
#514FE5 #E5514F #4FE551
tetradic
#514FE5 #E54F98 #E3E54F #4FE59C
square
#514FE5 #E54F98 #E3E54F #4FE59C
split-complementary
#514FE5 #E59C4F #98E54F
monochromatic
#1A18A2 #2220D7 #514FE5 #8684ED #BABAF5

Accessibility & contrast

On white

5.83
#514FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#514FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FE5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE5#FFFFFF#000000##FFFFFF
##514FE51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514fe5;
/* rgb */ color: rgb(81, 79, 229);
/* oklch */ color: oklch(52.6% 0.220 276.3);
Tailwind
colors: {
  custom: {
    50: '#9281ee',
    500: '#514fe5',
    950: '#000000',
  },
}
SCSS
$custom: #514fe5;
$custom-light: #9281ee;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe5",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 240.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.21989,
    "h": 276.3
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#514FE5
secondary
#E4E5AB
accent
#D60FD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #514FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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