#514FBB#514FBB

#514FBB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.165 H 279.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#514FBB
RGBrgb(81, 79, 187)
HSLhsl(241, 44%, 52%)
HSVhsv(241, 58%, 73%)
CMYKcmyk(56.7%, 57.8%, 0%, 26.7%)
CIE-LABlab(39.46, 32.09, -56.93)
CIE-LCHlch(39.46, 65.35, 299.41°)
OKLaboklab(49.11% 0.0265 -0.1633)
OKLCHoklch(49.11% 0.165 279.2)
XYZxyz(15.1561, 10.9281, 48.3148)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FBB #B9BB4F
analogous
#4F83BB #514FBB #874FBB
triadic
#514FBB #BB514F #4FBB51
tetradic
#514FBB #BB4F83 #B9BB4F #4FBB87
square
#514FBB #BB4F83 #B9BB4F #4FBB87
split-complementary
#514FBB #BB874F #83BB4F
monochromatic
#292868 #3B3994 #514FBB #7D7BCC #A8A7DD

Accessibility & contrast

On white

6.59
#514FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#514FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FBB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FBB#FFFFFF#000000##FFFFFF
##514FBB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#17687D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514fbb;
/* rgb */ color: rgb(81, 79, 187);
/* oklch */ color: oklch(49.1% 0.165 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b80d0',
    500: '#514fbb',
    950: '#000000',
  },
}
SCSS
$custom: #514fbb;
$custom-light: #8b80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#514fbb",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 241.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.16541,
    "h": 279.2
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#514FBB
secondary
#CACA9B
accent
#D454D2
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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