#514BE1#514BE1

#514BE1 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.219 H 277.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#514BE1
RGBrgb(81, 75, 225)
HSLhsl(242, 71%, 59%)
HSVhsv(242, 67%, 88%)
CMYKcmyk(64%, 66.7%, 0%, 11.8%)
CIE-LABlab(41.56, 46.78, -75.45)
CIE-LCHlch(41.56, 88.77, 301.80°)
OKLaboklab(51.58% 0.0275 -0.2177)
OKLCHoklch(51.58% 0.219 277.2)
XYZxyz(19.4956, 12.2161, 72.5501)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BE1 #DBE14B
analogous
#4B90E1 #514BE1 #9C4BE1
triadic
#514BE1 #E1514B #4BE151
tetradic
#514BE1 #E14B90 #DBE14B #4BE19C
square
#514BE1 #E14B90 #DBE14B #4BE19C
split-complementary
#514BE1 #E19C4B #90E14B
monochromatic
#1E1998 #2922CD #514BE1 #847FEA #B6B4F2

Accessibility & contrast

On white

6.10
#514BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#514BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BE1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BE1#FFFFFF#000000##FFFFFF
##514BE11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514be1;
/* rgb */ color: rgb(81, 75, 225);
/* oklch */ color: oklch(51.6% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#927eec',
    500: '#514be1',
    950: '#000000',
  },
}
SCSS
$custom: #514be1;
$custom-light: #927eec;
$custom-dark: #000000;
JSON
{
  "hex": "#514be1",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 242.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.2194,
    "h": 277.2
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#514BE1
secondary
#DFE1A6
accent
#EE3AE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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