#514CCF#514CCF

#514CCF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.196 H 278.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#514CCF
RGBrgb(81, 76, 207)
HSLhsl(242, 58%, 55%)
HSVhsv(242, 63%, 81%)
CMYKcmyk(60.9%, 63.3%, 0%, 18.8%)
CIE-LABlab(40.28, 40.42, -67.22)
CIE-LCHlch(40.28, 78.43, 301.02°)
OKLaboklab(50.19% 0.0285 -0.1935)
OKLCHoklch(50.19% 0.196 278.4)
XYZxyz(17.2367, 11.4219, 60.3157)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CCF #CACF4C
analogous
#4C88CF #514CCF #924CCF
triadic
#514CCF #CF514C #4CCF51
tetradic
#514CCF #CF4C88 #CACF4C #4CCF92
square
#514CCF #CF4C88 #CACF4C #4CCF92
split-complementary
#514CCF #CF924C #88CF4C
monochromatic
#25227F #342FAF #514CCF #807CDC #AFADE9

Accessibility & contrast

On white

6.39
#514CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#514CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CCF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CCF#FFFFFF#000000##FFFFFF
##514CCF1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514ccf;
/* rgb */ color: rgb(81, 76, 207);
/* oklch */ color: oklch(50.2% 0.196 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f7edf',
    500: '#514ccf',
    950: '#000000',
  },
}
SCSS
$custom: #514ccf;
$custom-light: #8f7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#514ccf",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 242.29,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.19561,
    "h": 278.4
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#514CCF
secondary
#D5D7A0
accent
#E147DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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