#514BE4#514BE4

#514BE4 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.223 H 277.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#514BE4
RGBrgb(81, 75, 228)
HSLhsl(242, 74%, 59%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(64.5%, 67.1%, 0%, 10.6%)
CIE-LABlab(41.82, 47.74, -76.73)
CIE-LCHlch(41.82, 90.37, 301.89°)
OKLaboklab(51.85% 0.0271 -0.2214)
OKLCHoklch(51.85% 0.223 277)
XYZxyz(19.9085, 12.3812, 74.7244)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BE4 #DEE44B
analogous
#4B92E4 #514BE4 #9E4BE4
triadic
#514BE4 #E4514B #4BE451
tetradic
#514BE4 #E44B92 #DEE44B #4BE49E
square
#514BE4 #E44B92 #DEE44B #4BE49E
split-complementary
#514BE4 #E49E4B #92E44B
monochromatic
#1D189D #2720D2 #514BE4 #8480EC #B8B5F4

Accessibility & contrast

On white

6.04
#514BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#514BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BE4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BE4#FFFFFF#000000##FFFFFF
##514BE41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514be4;
/* rgb */ color: rgb(81, 75, 228);
/* oklch */ color: oklch(51.8% 0.223 277.0);
Tailwind
colors: {
  custom: {
    50: '#937eee',
    500: '#514be4',
    950: '#000000',
  },
}
SCSS
$custom: #514be4;
$custom-light: #937eee;
$custom-dark: #000000;
JSON
{
  "hex": "#514be4",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 242.353,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.22307,
    "h": 277
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#514BE4
secondary
#E1E3A8
accent
#F137E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #514BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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