#45407E#45407E

#45407E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.8% C 0.101 H 284.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#45407E
RGBrgb(69, 64, 126)
HSLhsl(245, 33%, 37%)
HSVhsv(245, 49%, 49%)
CMYKcmyk(45.2%, 49.2%, 0%, 50.6%)
CIE-LABlab(30.49, 19.20, -34.57)
CIE-LCHlch(30.49, 39.55, 299.05°)
OKLaboklab(40.84% 0.0256 -0.098)
OKLCHoklch(40.84% 0.101 284.6)
XYZxyz(8.0524, 6.4380, 20.5530)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45407E #797E40
analogous
#405A7E #45407E #64407E
triadic
#45407E #7E4540 #407E45
tetradic
#45407E #7E405A #797E40 #407E64
square
#45407E #7E405A #797E40 #407E64
split-complementary
#45407E #7E6440 #5A7E40
monochromatic
#19172D #2F2B55 #45407E #5B55A7 #817CBC

Accessibility & contrast

On white

9.18
#45407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#45407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45407E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45407E#FFFFFF#000000##FFFFFF
##45407E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#334D59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #45407e;
/* rgb */ color: rgb(69, 64, 126);
/* oklch */ color: oklch(40.8% 0.101 284.6);
Tailwind
colors: {
  custom: {
    50: '#7c74a4',
    500: '#45407e',
    950: '#000000',
  },
}
SCSS
$custom: #45407e;
$custom-light: #7c74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#45407e",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 244.839,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.10128,
    "h": 284.6
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#45407E
secondary
#A3A773
accent
#C95FC0
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #45407E

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

Preview Lab → · Contrast checker → · Palette generator →

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