#514FE8#514FE8

#514FE8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.224 H 276.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#514FE8
RGBrgb(81, 79, 232)
HSLhsl(241, 77%, 61%)
HSVhsv(241, 66%, 91%)
CMYKcmyk(65.1%, 65.9%, 0%, 9%)
CIE-LABlab(43.01, 46.71, -77.04)
CIE-LCHlch(43.01, 90.09, 301.23°)
OKLaboklab(52.82% 0.0238 -0.2223)
OKLCHoklch(52.82% 0.224 276.1)
XYZxyz(20.7500, 13.1657, 77.7760)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE8 #E6E84F
analogous
#4F99E8 #514FE8 #9D4FE8
triadic
#514FE8 #E8514F #4FE851
tetradic
#514FE8 #E84F99 #E6E84F #4FE89D
square
#514FE8 #E84F99 #E6E84F #4FE89D
split-complementary
#514FE8 #E89D4F #99E84F
monochromatic
#1816A7 #1F1DDD #514FE8 #8785EF #BCBBF6

Accessibility & contrast

On white

5.78
#514FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#514FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FE8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE8#FFFFFF#000000##FFFFFF
##514FE81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #514fe8;
/* rgb */ color: rgb(81, 79, 232);
/* oklch */ color: oklch(52.8% 0.224 276.1);
Tailwind
colors: {
  custom: {
    50: '#9381f1',
    500: '#514fe8',
    950: '#000000',
  },
}
SCSS
$custom: #514fe8;
$custom-light: #9381f1;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe8",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 240.784,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.22359,
    "h": 276.1
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#514FE8
secondary
#E5E6AD
accent
#D90CD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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