#45478E#45478E

#45478E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.115 H 279.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#45478E
RGBrgb(69, 71, 142)
HSLhsl(238, 35%, 41%)
HSVhsv(238, 51%, 56%)
CMYKcmyk(51.4%, 50%, 0%, 44.3%)
CIE-LABlab(33.40, 19.82, -39.81)
CIE-LCHlch(33.40, 44.47, 296.47°)
OKLaboklab(43.36% 0.0185 -0.1133)
OKLCHoklch(43.36% 0.115 279.2)
XYZxyz(9.5885, 7.7241, 26.5716)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45478E #8E8C45
analogous
#456C8E #45478E #68458E
triadic
#45478E #8E4547 #478E45
tetradic
#45478E #8E456C #8E8C45 #458E68
square
#45478E #8E456C #8E8C45 #458E68
split-complementary
#45478E #8E6845 #6C8E45
monochromatic
#1D1E3C #313265 #45478E #5F61B1 #888AC5

Accessibility & contrast

On white

8.25
#45478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#45478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45478E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45478E#FFFFFF#000000##FFFFFF
##45478E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275191
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#285663
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #45478e;
/* rgb */ color: rgb(69, 71, 142);
/* oklch */ color: oklch(43.4% 0.115 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e7aaf',
    500: '#45478e',
    950: '#000000',
  },
}
SCSS
$custom: #45478e;
$custom-light: #7e7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#45478e",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 238.356,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.1148,
    "h": 279.2
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#45478E
secondary
#B0AF7E
accent
#C85DCB
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45478E

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

Preview Lab → · Contrast checker → · Palette generator →

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