#45459C#45459C

#45459C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.138 H 279.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#45459C
RGBrgb(69, 69, 156)
HSLhsl(240, 39%, 44%)
HSVhsv(240, 56%, 61%)
CMYKcmyk(55.8%, 55.8%, 0%, 38.8%)
CIE-LABlab(33.82, 25.80, -47.65)
CIE-LCHlch(33.82, 54.19, 298.43°)
OKLaboklab(43.98% 0.0218 -0.1364)
OKLCHoklch(43.98% 0.138 279.1)
XYZxyz(10.5812, 7.9211, 32.4174)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45459C #9C9C45
analogous
#45719C #45459C #71459C
triadic
#45459C #9C4545 #459C45
tetradic
#45459C #9C4571 #9C9C45 #459C71
square
#45459C #9C4571 #9C9C45 #459C71
split-complementary
#45459C #9C7145 #719C45
monochromatic
#1F1F47 #323272 #45459C #6464BA #8E8ECD

Accessibility & contrast

On white

8.13
#45459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#45459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45459C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45459C#FFFFFF#000000##FFFFFF
##45459C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#1B5969
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #45459c;
/* rgb */ color: rgb(69, 69, 156);
/* oklch */ color: oklch(44.0% 0.138 279.1);
Tailwind
colors: {
  custom: {
    50: '#8078ba',
    500: '#45459c',
    950: '#000000',
  },
}
SCSS
$custom: #45459c;
$custom-light: #8078ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45459c",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.13813,
    "h": 279.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45459C

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

Preview Lab → · Contrast checker → · Palette generator →

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