#45378C#45378C

#45378C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.135 H 286.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#45378C
RGBrgb(69, 55, 140)
HSLhsl(250, 44%, 38%)
HSVhsv(250, 61%, 55%)
CMYKcmyk(50.7%, 60.7%, 0%, 45.1%)
CIE-LABlab(29.13, 29.51, -45.45)
CIE-LCHlch(29.13, 54.19, 303.00°)
OKLaboklab(40.14% 0.0376 -0.13)
OKLCHoklch(40.14% 0.135 286.1)
XYZxyz(8.5527, 5.8906, 25.4922)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45378C #7E8C37
analogous
#37538C #45378C #6F378C
triadic
#45378C #8C4537 #378C45
tetradic
#45378C #8C3753 #7E8C37 #378C6F
square
#45378C #8C3753 #7E8C37 #378C6F
split-complementary
#45378C #8C6F37 #538C37
monochromatic
#1A1434 #2F2660 #45378C #5B49B7 #8375C9

Accessibility & contrast

On white

9.64
#45378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45378C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45378C#FFFFFF#000000##FFFFFF
##45378C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#2C4B5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45378c;
/* rgb */ color: rgb(69, 55, 140);
/* oklch */ color: oklch(40.1% 0.135 286.1);
Tailwind
colors: {
  custom: {
    50: '#7f6eae',
    500: '#45378c',
    950: '#000000',
  },
}
SCSS
$custom: #45378c;
$custom-light: #7f6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#45378c",
  "rgb": {
    "r": 69,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 249.882,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.13533,
    "h": 286.1
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#45378C
secondary
#A6B16D
accent
#D354BE
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #45378C

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

Preview Lab → · Contrast checker → · Palette generator →

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