#45378D#45378D

#45378D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.137 H 285.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#45378D
RGBrgb(69, 55, 141)
HSLhsl(250, 44%, 38%)
HSVhsv(250, 61%, 55%)
CMYKcmyk(51.1%, 61%, 0%, 44.7%)
CIE-LABlab(29.21, 29.83, -45.94)
CIE-LCHlch(29.21, 54.78, 302.99°)
OKLaboklab(40.22% 0.0376 -0.1314)
OKLCHoklch(40.22% 0.137 285.9)
XYZxyz(8.6267, 5.9203, 25.8823)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45378D #7F8D37
analogous
#37548D #45378D #70378D
triadic
#45378D #8D4537 #378D45
tetradic
#45378D #8D3754 #7F8D37 #378D70
square
#45378D #8D3754 #7F8D37 #378D70
split-complementary
#45378D #8D7037 #548D37
monochromatic
#1A1535 #2F2661 #45378D #5B49B8 #8375C9

Accessibility & contrast

On white

9.61
#45378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#45378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45378D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45378D#FFFFFF#000000##FFFFFF
##45378D1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#2B4B5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45378d;
/* rgb */ color: rgb(69, 55, 141);
/* oklch */ color: oklch(40.2% 0.137 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f6eaf',
    500: '#45378d',
    950: '#000000',
  },
}
SCSS
$custom: #45378d;
$custom-light: #7f6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#45378d",
  "rgb": {
    "r": 69,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 249.767,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.13671,
    "h": 285.9
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#45378D
secondary
#A7B26E
accent
#D454BF
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45378D

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

Preview Lab → · Contrast checker → · Palette generator →

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