#45459F#45459F

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

Color values

HEX#45459F
RGBrgb(69, 69, 159)
HSLhsl(240, 39%, 45%)
HSVhsv(240, 57%, 62%)
CMYKcmyk(56.6%, 56.6%, 0%, 37.6%)
CIE-LABlab(34.03, 26.81, -49.12)
CIE-LCHlch(34.03, 55.96, 298.62°)
OKLaboklab(44.21% 0.0219 -0.1407)
OKLCHoklch(44.21% 0.142 278.9)
XYZxyz(10.8384, 8.0239, 33.7718)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45459F #9F9F45
analogous
#45729F #45459F #72459F
triadic
#45459F #9F4545 #459F45
tetradic
#45459F #9F4572 #9F9F45 #459F72
square
#45459F #9F4572 #9F9F45 #459F72
split-complementary
#45459F #9F7245 #729F45
monochromatic
#20204A #323274 #45459F #6565BC #9090CF

Accessibility & contrast

On white

8.06
#45459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#45459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45459F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45459F#FFFFFF#000000##FFFFFF
##45459F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#165A6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #45459f;
/* rgb */ color: rgb(69, 69, 159);
/* oklch */ color: oklch(44.2% 0.142 278.9);
Tailwind
colors: {
  custom: {
    50: '#8178bc',
    500: '#45459f',
    950: '#000000',
  },
}
SCSS
$custom: #45459f;
$custom-light: #8178bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45459f",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.14241,
    "h": 278.9
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#45459F
secondary
#BABA86
accent
#CF58CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45459F

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

Preview Lab → · Contrast checker → · Palette generator →

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