#45519D#45519D

#45519D is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.123 H 273.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#45519D
RGBrgb(69, 81, 157)
HSLhsl(232, 39%, 44%)
HSVhsv(232, 56%, 62%)
CMYKcmyk(56.1%, 48.4%, 0%, 38.4%)
CIE-LABlab(37.08, 18.35, -43.00)
CIE-LCHlch(37.08, 46.75, 293.11°)
OKLaboklab(46.46% 0.0084 -0.1226)
OKLCHoklch(46.46% 0.123 273.9)
XYZxyz(11.4805, 9.5836, 33.1366)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45519D #9D9145
analogous
#457D9D #45519D #65459D
triadic
#45519D #9D4551 #519D45
tetradic
#45519D #9D457D #9D9145 #459D65
square
#45519D #9D457D #9D9145 #459D65
split-complementary
#45519D #9D6545 #7D9D45
monochromatic
#202548 #323B72 #45519D #6470BB #8F97CE

Accessibility & contrast

On white

7.20
#45519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#45519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45519D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45519D#FFFFFF#000000##FFFFFF
##45519D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#22549B
Tritanopia (blue-blind)
#16626F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #45519d;
/* rgb */ color: rgb(69, 81, 157);
/* oklch */ color: oklch(46.5% 0.123 273.9);
Tailwind
colors: {
  custom: {
    50: '#8081ba',
    500: '#45519d',
    950: '#000000',
  },
}
SCSS
$custom: #45519d;
$custom-light: #8081ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45519d",
  "rgb": {
    "r": 69,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 231.818,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.12289,
    "h": 273.9
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#45519D
secondary
#B9B285
accent
#BF59CF
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #45519D

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

Preview Lab → · Contrast checker → · Palette generator →

#45519D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva