#514FBC#514FBC

#514FBC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.167 H 279.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#514FBC
RGBrgb(81, 79, 188)
HSLhsl(241, 45%, 52%)
HSVhsv(241, 58%, 74%)
CMYKcmyk(56.9%, 58%, 0%, 26.3%)
CIE-LABlab(39.53, 32.41, -57.40)
CIE-LCHlch(39.53, 65.92, 299.46°)
OKLaboklab(49.18% 0.0265 -0.1646)
OKLCHoklch(49.18% 0.167 279.1)
XYZxyz(15.2636, 10.9711, 48.8805)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FBC #BABC4F
analogous
#4F84BC #514FBC #884FBC
triadic
#514FBC #BC514F #4FBC51
tetradic
#514FBC #BC4F84 #BABC4F #4FBC88
square
#514FBC #BC4F84 #BABC4F #4FBC88
split-complementary
#514FBC #BC884F #84BC4F
monochromatic
#292869 #3A3995 #514FBC #7D7BCD #A9A8DE

Accessibility & contrast

On white

6.57
#514FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514FBC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FBC#FFFFFF#000000##FFFFFF
##514FBC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#15697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514fbc;
/* rgb */ color: rgb(81, 79, 188);
/* oklch */ color: oklch(49.2% 0.167 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b80d1',
    500: '#514fbc',
    950: '#000000',
  },
}
SCSS
$custom: #514fbc;
$custom-light: #8b80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#514fbc",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 241.101,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.16676,
    "h": 279.1
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#514FBC
secondary
#CACB9C
accent
#D553D2
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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