#514FEB#514FEB

#514FEB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.227 H 275.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#514FEB
RGBrgb(81, 79, 235)
HSLhsl(241, 80%, 62%)
HSVhsv(241, 66%, 92%)
CMYKcmyk(65.5%, 66.4%, 0%, 7.8%)
CIE-LABlab(43.27, 47.67, -78.31)
CIE-LCHlch(43.27, 91.68, 301.33°)
OKLaboklab(53.08% 0.0235 -0.2261)
OKLCHoklch(53.08% 0.227 275.9)
XYZxyz(21.1798, 13.3376, 80.0394)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FEB #E9EB4F
analogous
#4F9BEB #514FEB #9F4FEB
triadic
#514FEB #EB514F #4FEB51
tetradic
#514FEB #EB4F9B #E9EB4F #4FEB9F
square
#514FEB #EB4F9B #E9EB4F #4FEB9F
split-complementary
#514FEB #EB9F4F #9BEB4F
monochromatic
#1614AC #1C1AE3 #514FEB #8786F1 #BEBDF7

Accessibility & contrast

On white

5.73
#514FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#514FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FEB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FEB#FFFFFF#000000##FFFFFF
##514FEB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #514feb;
/* rgb */ color: rgb(81, 79, 235);
/* oklch */ color: oklch(53.1% 0.227 275.9);
Tailwind
colors: {
  custom: {
    50: '#9481f3',
    500: '#514feb',
    950: '#000000',
  },
}
SCSS
$custom: #514feb;
$custom-light: #9481f3;
$custom-dark: #000000;
JSON
{
  "hex": "#514feb",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 240.769,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.22728,
    "h": 275.9
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#514FEB
secondary
#E7E8AE
accent
#DC0AD9
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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