#514CDB#514CDB

#514CDB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.211 H 277.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#514CDB
RGBrgb(81, 76, 219)
HSLhsl(242, 67%, 58%)
HSVhsv(242, 65%, 86%)
CMYKcmyk(63%, 65.3%, 0%, 14.1%)
CIE-LABlab(41.27, 44.28, -72.50)
CIE-LCHlch(41.27, 84.96, 301.41°)
OKLaboklab(51.21% 0.0274 -0.209)
OKLCHoklch(51.21% 0.211 277.5)
XYZxyz(18.7598, 12.0312, 68.3377)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CDB #D6DB4C
analogous
#4C8EDB #514CDB #984CDB
triadic
#514CDB #DB514C #4CDB51
tetradic
#514CDB #DB4C8E #D6DB4C #4CDB98
square
#514CDB #DB4C8E #D6DB4C #4CDB98
split-complementary
#514CDB #DB984C #8EDB4C
monochromatic
#211D90 #2D27C3 #514CDB #837FE5 #B4B2EF

Accessibility & contrast

On white

6.16
#514CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#514CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CDB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CDB#FFFFFF#000000##FFFFFF
##514CDB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.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: #514cdb;
/* rgb */ color: rgb(81, 76, 219);
/* oklch */ color: oklch(51.2% 0.211 277.5);
Tailwind
colors: {
  custom: {
    50: '#917fe7',
    500: '#514cdb',
    950: '#000000',
  },
}
SCSS
$custom: #514cdb;
$custom-light: #917fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#514cdb",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 242.098,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.21083,
    "h": 277.5
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#514CDB
secondary
#DCDEA5
accent
#E93EE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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