#514BDB#514BDB

#514BDB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.212 H 277.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#514BDB
RGBrgb(81, 75, 219)
HSLhsl(243, 67%, 58%)
HSVhsv(243, 66%, 86%)
CMYKcmyk(63%, 65.8%, 0%, 14.1%)
CIE-LABlab(41.05, 44.87, -72.86)
CIE-LCHlch(41.05, 85.57, 301.62°)
OKLaboklab(51.05% 0.0282 -0.2101)
OKLCHoklch(51.05% 0.212 277.6)
XYZxyz(18.6915, 11.8945, 68.3150)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BDB #D5DB4B
analogous
#4B8DDB #514BDB #994BDB
triadic
#514BDB #DB514B #4BDB51
tetradic
#514BDB #DB4B8D #D5DB4B #4BDB99
square
#514BDB #DB4B8D #D5DB4B #4BDB99
split-complementary
#514BDB #DB994B #8DDB4B
monochromatic
#211D8F #2D27C2 #514BDB #827EE5 #B4B1EF

Accessibility & contrast

On white

6.21
#514BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#514BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BDB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BDB#FFFFFF#000000##FFFFFF
##514BDB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514bdb;
/* rgb */ color: rgb(81, 75, 219);
/* oklch */ color: oklch(51.1% 0.212 277.6);
Tailwind
colors: {
  custom: {
    50: '#917ee7',
    500: '#514bdb',
    950: '#000000',
  },
}
SCSS
$custom: #514bdb;
$custom-light: #917ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#514bdb",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 242.5,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.21196,
    "h": 277.6
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#514BDB
secondary
#DBDEA4
accent
#EA3EE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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