#45478D#45478D

#45478D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.113 H 279.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#45478D
RGBrgb(69, 71, 141)
HSLhsl(238, 34%, 41%)
HSVhsv(238, 51%, 55%)
CMYKcmyk(51.1%, 49.6%, 0%, 44.7%)
CIE-LABlab(33.34, 19.49, -39.30)
CIE-LCHlch(33.34, 43.87, 296.38°)
OKLaboklab(43.29% 0.0183 -0.1118)
OKLCHoklch(43.29% 0.113 279.3)
XYZxyz(9.5137, 7.6942, 26.1780)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45478D #8D8B45
analogous
#456B8D #45478D #67458D
triadic
#45478D #8D4547 #478D45
tetradic
#45478D #8D456B #8D8B45 #458D67
square
#45478D #8D456B #8D8B45 #458D67
split-complementary
#45478D #8D6745 #6B8D45
monochromatic
#1D1E3B #313264 #45478D #5F61B1 #8889C5

Accessibility & contrast

On white

8.27
#45478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#45478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45478D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45478D#FFFFFF#000000##FFFFFF
##45478D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#214C8B
Tritanopia (blue-blind)
#295663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #45478d;
/* rgb */ color: rgb(69, 71, 141);
/* oklch */ color: oklch(43.3% 0.113 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e7aaf',
    500: '#45478d',
    950: '#000000',
  },
}
SCSS
$custom: #45478d;
$custom-light: #7e7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#45478d",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 238.333,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.1133,
    "h": 279.3
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#45478D
secondary
#B0AE7E
accent
#C75DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45478D

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

Preview Lab → · Contrast checker → · Palette generator →

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