#514BEB#514BEB

#514BEB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.232 H 276.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#514BEB
RGBrgb(81, 75, 235)
HSLhsl(242, 80%, 61%)
HSVhsv(242, 68%, 92%)
CMYKcmyk(65.5%, 68.1%, 0%, 7.8%)
CIE-LABlab(42.43, 49.95, -79.69)
CIE-LCHlch(42.43, 94.06, 302.08°)
OKLaboklab(52.47% 0.0262 -0.2301)
OKLCHoklch(52.47% 0.232 276.5)
XYZxyz(20.8999, 12.7778, 79.9461)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BEB #E5EB4B
analogous
#4B95EB #514BEB #A14BEB
triadic
#514BEB #EB514B #4BEB51
tetradic
#514BEB #EB4B95 #E5EB4B #4BEBA1
square
#514BEB #EB4B95 #E5EB4B #4BEBA1
split-complementary
#514BEB #EBA14B #95EB4B
monochromatic
#1813A9 #2019E0 #514BEB #8682F1 #BBB9F7

Accessibility & contrast

On white

5.91
#514BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#514BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BEB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BEB#FFFFFF#000000##FFFFFF
##514BEB1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514beb;
/* rgb */ color: rgb(81, 75, 235);
/* oklch */ color: oklch(52.5% 0.232 276.5);
Tailwind
colors: {
  custom: {
    50: '#947ff3',
    500: '#514beb',
    950: '#000000',
  },
}
SCSS
$custom: #514beb;
$custom-light: #947ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#514beb",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 242.25,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.23158,
    "h": 276.5
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#514BEB
secondary
#E5E7AB
accent
#DC09D4
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #514BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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