#45459E#45459E

#45459E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.141 H 278.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#45459E
RGBrgb(69, 69, 158)
HSLhsl(240, 39%, 45%)
HSVhsv(240, 56%, 62%)
CMYKcmyk(56.3%, 56.3%, 0%, 38%)
CIE-LABlab(33.96, 26.47, -48.63)
CIE-LCHlch(33.96, 55.37, 298.56°)
OKLaboklab(44.13% 0.0219 -0.1393)
OKLCHoklch(44.13% 0.141 278.9)
XYZxyz(10.7520, 7.9894, 33.3167)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45459E #9E9E45
analogous
#45729E #45459E #72459E
triadic
#45459E #9E4545 #459E45
tetradic
#45459E #9E4572 #9E9E45 #459E72
square
#45459E #9E4572 #9E9E45 #459E72
split-complementary
#45459E #9E7245 #729E45
monochromatic
#202049 #323273 #45459E #6565BC #8F8FCE

Accessibility & contrast

On white

8.08
#45459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#45459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45459E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45459E#FFFFFF#000000##FFFFFF
##45459E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#185A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #45459e;
/* rgb */ color: rgb(69, 69, 158);
/* oklch */ color: oklch(44.1% 0.141 278.9);
Tailwind
colors: {
  custom: {
    50: '#8178bb',
    500: '#45459e',
    950: '#000000',
  },
}
SCSS
$custom: #45459e;
$custom-light: #8178bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45459e",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.14099,
    "h": 278.9
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#45459E
secondary
#BABA85
accent
#CF59CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45459E

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

Preview Lab → · Contrast checker → · Palette generator →

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