#514FC8#514FC8

#514FC8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.183 H 278.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#514FC8
RGBrgb(81, 79, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 61%, 78%)
CMYKcmyk(59.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(40.43, 36.33, -62.93)
CIE-LCHlch(40.43, 72.67, 300.00°)
OKLaboklab(50.13% 0.0262 -0.1809)
OKLCHoklch(50.13% 0.183 278.2)
XYZxyz(16.6113, 11.5102, 55.9787)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FC8 #C6C84F
analogous
#4F89C8 #514FC8 #8E4FC8
triadic
#514FC8 #C8514F #4FC851
tetradic
#514FC8 #C84F89 #C6C84F #4FC88E
square
#514FC8 #C84F89 #C6C84F #4FC88E
split-complementary
#514FC8 #C88E4F #89C84F
monochromatic
#272577 #3634A6 #514FC8 #7F7ED7 #ADACE5

Accessibility & contrast

On white

6.36
#514FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#514FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FC8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FC8#FFFFFF#000000##FFFFFF
##514FC81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514fc8;
/* rgb */ color: rgb(81, 79, 200);
/* oklch */ color: oklch(50.1% 0.183 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d80da',
    500: '#514fc8',
    950: '#000000',
  },
}
SCSS
$custom: #514fc8;
$custom-light: #8d80da;
$custom-dark: #000000;
JSON
{
  "hex": "#514fc8",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 240.992,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.18282,
    "h": 278.2
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#514FC8
secondary
#D2D3A0
accent
#DC4CD9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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