#514FB8#514FB8

#514FB8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.161 H 279.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#514FB8
RGBrgb(81, 79, 184)
HSLhsl(241, 43%, 52%)
HSVhsv(241, 57%, 72%)
CMYKcmyk(56%, 57.1%, 0%, 27.8%)
CIE-LABlab(39.24, 31.11, -55.52)
CIE-LCHlch(39.24, 63.64, 299.26°)
OKLaboklab(48.88% 0.0265 -0.1591)
OKLCHoklch(48.88% 0.161 279.5)
XYZxyz(14.8383, 10.8010, 46.6410)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FB8 #B6B84F
analogous
#4F82B8 #514FB8 #864FB8
triadic
#514FB8 #B8514F #4FB851
tetradic
#514FB8 #B84F82 #B6B84F #4FB886
square
#514FB8 #B84F82 #B6B84F #4FB886
split-complementary
#514FB8 #B8864F #82B84F
monochromatic
#2A2864 #3C3A90 #514FB8 #7C7BCA #A7A6DB

Accessibility & contrast

On white

6.64
#514FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#514FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FB8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FB8#FFFFFF#000000##FFFFFF
##514FB81.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#1C687C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514fb8;
/* rgb */ color: rgb(81, 79, 184);
/* oklch */ color: oklch(48.9% 0.161 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b80ce',
    500: '#514fb8',
    950: '#000000',
  },
}
SCSS
$custom: #514fb8;
$custom-light: #8b80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#514fb8",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 241.143,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.16131,
    "h": 279.5
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#514FB8
secondary
#C8C89A
accent
#D256D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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