#45378F#45378F

#45378F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.139 H 285.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#45378F
RGBrgb(69, 55, 143)
HSLhsl(250, 44%, 39%)
HSVhsv(250, 62%, 56%)
CMYKcmyk(51.7%, 61.5%, 0%, 43.9%)
CIE-LABlab(29.36, 30.47, -46.93)
CIE-LCHlch(29.36, 55.95, 302.99°)
OKLaboklab(40.38% 0.0375 -0.1344)
OKLCHoklch(40.38% 0.139 285.6)
XYZxyz(8.7769, 5.9803, 26.6731)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45378F #818F37
analogous
#37558F #45378F #71378F
triadic
#45378F #8F4537 #378F45
tetradic
#45378F #8F3755 #818F37 #378F71
square
#45378F #8F3755 #818F37 #378F71
split-complementary
#45378F #8F7137 #558F37
monochromatic
#1A1537 #302663 #45378F #5C4AB9 #8376CA

Accessibility & contrast

On white

9.56
#45378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#45378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45378F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45378F#FFFFFF#000000##FFFFFF
##45378F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#2A4C5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45378f;
/* rgb */ color: rgb(69, 55, 143);
/* oklch */ color: oklch(40.4% 0.139 285.6);
Tailwind
colors: {
  custom: {
    50: '#7f6eb0',
    500: '#45378f',
    950: '#000000',
  },
}
SCSS
$custom: #45378f;
$custom-light: #7f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#45378f",
  "rgb": {
    "r": 69,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 249.545,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.13949,
    "h": 285.6
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#45378F
secondary
#A8B36F
accent
#D454C0
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45378F

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

Preview Lab → · Contrast checker → · Palette generator →

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