#514BE6#514BE6

#514BE6 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.226 H 276.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#514BE6
RGBrgb(81, 75, 230)
HSLhsl(242, 76%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(64.8%, 67.4%, 0%, 9.8%)
CIE-LABlab(41.99, 48.37, -77.58)
CIE-LCHlch(41.99, 91.43, 301.94°)
OKLaboklab(52.02% 0.0268 -0.2239)
OKLCHoklch(52.02% 0.226 276.8)
XYZxyz(20.1877, 12.4929, 76.1951)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BE6 #E0E64B
analogous
#4B92E6 #514BE6 #9F4BE6
triadic
#514BE6 #E6514B #4BE651
tetradic
#514BE6 #E64B92 #E0E64B #4BE69F
square
#514BE6 #E64B92 #E0E64B #4BE69F
split-complementary
#514BE6 #E69F4B #92E64B
monochromatic
#1C16A0 #251ED6 #514BE6 #8581ED #B9B6F5

Accessibility & contrast

On white

6.00
#514BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#514BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BE6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BE6#FFFFFF#000000##FFFFFF
##514BE61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514be6;
/* rgb */ color: rgb(81, 75, 230);
/* oklch */ color: oklch(52.0% 0.226 276.8);
Tailwind
colors: {
  custom: {
    50: '#937eef',
    500: '#514be6',
    950: '#000000',
  },
}
SCSS
$custom: #514be6;
$custom-light: #937eef;
$custom-dark: #000000;
JSON
{
  "hex": "#514be6",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 242.323,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.22552,
    "h": 276.8
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#514BE6
secondary
#E2E4A8
accent
#F236EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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