#45479C#45479C

#45479C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.135 H 278.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#45479C
RGBrgb(69, 71, 156)
HSLhsl(239, 39%, 44%)
HSVhsv(239, 56%, 61%)
CMYKcmyk(55.8%, 54.5%, 0%, 38.8%)
CIE-LABlab(34.34, 24.50, -46.82)
CIE-LCHlch(34.34, 52.84, 297.63°)
OKLaboklab(44.37% 0.0196 -0.1339)
OKLCHoklch(44.37% 0.135 278.3)
XYZxyz(10.7063, 8.1713, 32.4591)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45479C #9C9A45
analogous
#45739C #45479C #6F459C
triadic
#45479C #9C4547 #479C45
tetradic
#45479C #9C4573 #9C9A45 #459C6F
square
#45479C #9C4573 #9C9A45 #459C6F
split-complementary
#45479C #9C6F45 #739C45
monochromatic
#1F2047 #323472 #45479C #6466BA #8E90CD

Accessibility & contrast

On white

7.97
#45479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#45479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45479C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45479C#FFFFFF#000000##FFFFFF
##45479C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549F
Deuteranopia (green-blind)
#014D9A
Tritanopia (blue-blind)
#1A5A6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #45479c;
/* rgb */ color: rgb(69, 71, 156);
/* oklch */ color: oklch(44.4% 0.135 278.3);
Tailwind
colors: {
  custom: {
    50: '#807aba',
    500: '#45479c',
    950: '#000000',
  },
}
SCSS
$custom: #45479c;
$custom-light: #807aba;
$custom-dark: #000000;
JSON
{
  "hex": "#45479c",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 238.621,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.13535,
    "h": 278.3
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#45479C
secondary
#B9B784
accent
#CC59CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45479C

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

Preview Lab → · Contrast checker → · Palette generator →

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