#4545A2#4545A2

#4545A2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.147 H 278.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4545A2
RGBrgb(69, 69, 162)
HSLhsl(240, 40%, 45%)
HSVhsv(240, 57%, 64%)
CMYKcmyk(57.4%, 57.4%, 0%, 36.5%)
CIE-LABlab(34.25, 27.81, -50.57)
CIE-LCHlch(34.25, 57.72, 298.81°)
OKLaboklab(44.44% 0.022 -0.145)
OKLCHoklch(44.44% 0.147 278.6)
XYZxyz(11.1019, 8.1293, 35.1595)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545A2 #A2A245
analogous
#4573A2 #4545A2 #7345A2
triadic
#4545A2 #A24545 #45A245
tetradic
#4545A2 #A24573 #A2A245 #45A273
square
#4545A2 #A24573 #A2A245 #45A273
split-complementary
#4545A2 #A27345 #73A245
monochromatic
#20204C #333377 #4545A2 #6666BE #9191D0

Accessibility & contrast

On white

8.00
#4545A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4545A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545A2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545A2#FFFFFF#000000##FFFFFF
##4545A21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#115B6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4545a2;
/* rgb */ color: rgb(69, 69, 162);
/* oklch */ color: oklch(44.4% 0.147 278.6);
Tailwind
colors: {
  custom: {
    50: '#8178be',
    500: '#4545a2',
    950: '#000000',
  },
}
SCSS
$custom: #4545a2;
$custom-light: #8178be;
$custom-dark: #000000;
JSON
{
  "hex": "#4545a2",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.14664,
    "h": 278.6
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#4545A2
secondary
#BCBC87
accent
#D058D0
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4545A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4545A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva