#514FBA#514FBA

#514FBA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.164 H 279.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#514FBA
RGBrgb(81, 79, 186)
HSLhsl(241, 44%, 52%)
HSVhsv(241, 58%, 73%)
CMYKcmyk(56.5%, 57.5%, 0%, 27.1%)
CIE-LABlab(39.39, 31.76, -56.46)
CIE-LCHlch(39.39, 64.78, 299.36°)
OKLaboklab(49.03% 0.0265 -0.1619)
OKLCHoklch(49.03% 0.164 279.3)
XYZxyz(15.0495, 10.8855, 47.7529)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FBA #B8BA4F
analogous
#4F83BA #514FBA #864FBA
triadic
#514FBA #BA514F #4FBA51
tetradic
#514FBA #BA4F83 #B8BA4F #4FBA86
square
#514FBA #BA4F83 #B8BA4F #4FBA86
split-complementary
#514FBA #BA864F #83BA4F
monochromatic
#292866 #3B3992 #514FBA #7C7BCB #A8A7DC

Accessibility & contrast

On white

6.61
#514FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#514FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FBA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FBA#FFFFFF#000000##FFFFFF
##514FBA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#19687D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514fba;
/* rgb */ color: rgb(81, 79, 186);
/* oklch */ color: oklch(49.0% 0.164 279.3);
Tailwind
colors: {
  custom: {
    50: '#8b80cf',
    500: '#514fba',
    950: '#000000',
  },
}
SCSS
$custom: #514fba;
$custom-light: #8b80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#514fba",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 241.121,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.16404,
    "h": 279.3
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#514FBA
secondary
#C9CA9B
accent
#D354D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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