#514EBC#514EBC

#514EBC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.168 H 279.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#514EBC
RGBrgb(81, 78, 188)
HSLhsl(242, 45%, 52%)
HSVhsv(242, 59%, 74%)
CMYKcmyk(56.9%, 58.5%, 0%, 26.3%)
CIE-LABlab(39.29, 33.03, -57.79)
CIE-LCHlch(39.29, 66.56, 299.75°)
OKLaboklab(49% 0.0275 -0.1658)
OKLCHoklch(49% 0.168 279.4)
XYZxyz(15.1920, 10.8279, 48.8567)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBC #B9BC4E
analogous
#4E82BC #514EBC #884EBC
triadic
#514EBC #BC514E #4EBC51
tetradic
#514EBC #BC4E82 #B9BC4E #4EBC88
square
#514EBC #BC4E82 #B9BC4E #4EBC88
split-complementary
#514EBC #BC884E #82BC4E
monochromatic
#292768 #3B3895 #514EBC #7D7ACD #A8A7DE

Accessibility & contrast

On white

6.63
#514EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#514EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EBC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EBC#FFFFFF#000000##FFFFFF
##514EBC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#15687D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ebc;
/* rgb */ color: rgb(81, 78, 188);
/* oklch */ color: oklch(49.0% 0.168 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b80d1',
    500: '#514ebc',
    950: '#000000',
  },
}
SCSS
$custom: #514ebc;
$custom-light: #8b80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#514ebc",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 241.636,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.16808,
    "h": 279.4
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#514EBC
secondary
#CACB9B
accent
#D553D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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