#514B90#514B90

#514B90 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.3% C 0.110 H 285.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#514B90
RGBrgb(81, 75, 144)
HSLhsl(245, 32%, 43%)
HSVhsv(245, 48%, 56%)
CMYKcmyk(43.8%, 47.9%, 0%, 43.5%)
CIE-LABlab(35.59, 20.88, -37.48)
CIE-LCHlch(35.59, 42.91, 299.12°)
OKLaboklab(45.3% 0.0286 -0.1061)
OKLCHoklch(45.3% 0.11 285.1)
XYZxyz(10.9420, 8.7947, 27.5012)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B90 #8A904B
analogous
#4B6790 #514B90 #734B90
triadic
#514B90 #90514B #4B9051
tetradic
#514B90 #904B67 #8A904B #4B9073
square
#514B90 #904B67 #8A904B #4B9073
split-complementary
#514B90 #90734B #67904B
monochromatic
#242140 #3A3668 #514B90 #6E68B0 #9590C5

Accessibility & contrast

On white

7.61
#514B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#514B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B90
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B90#FFFFFF#000000##FFFFFF
##514B901.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#2E528E
Tritanopia (blue-blind)
#3E5966
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #514b90;
/* rgb */ color: rgb(81, 75, 144);
/* oklch */ color: oklch(45.3% 0.110 285.1);
Tailwind
colors: {
  custom: {
    50: '#857db1',
    500: '#514b90',
    950: '#000000',
  },
}
SCSS
$custom: #514b90;
$custom-light: #857db1;
$custom-dark: #000000;
JSON
{
  "hex": "#514b90",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 144
  },
  "hsl": {
    "h": 245.217,
    "s": 31.507,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.10992,
    "h": 285.1
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#514B90
secondary
#AEB185
accent
#C860BF
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514B90

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

Preview Lab → · Contrast checker → · Palette generator →

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