#4545C2#4545C2

#4545C2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.190 H 276.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4545C2
RGBrgb(69, 69, 194)
HSLhsl(240, 51%, 52%)
HSVhsv(240, 64%, 76%)
CMYKcmyk(64.4%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.77, 38.57, -65.44)
CIE-LCHlch(36.77, 75.96, 300.52°)
OKLaboklab(47.08% 0.0207 -0.1887)
OKLCHoklch(47.08% 0.19 276.3)
XYZxyz(14.3168, 9.4153, 52.0913)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545C2 #C2C245
analogous
#4584C2 #4545C2 #8445C2
triadic
#4545C2 #C24545 #45C245
tetradic
#4545C2 #C24584 #C2C245 #45C284
square
#4545C2 #C24584 #C2C245 #45C284
split-complementary
#4545C2 #C28445 #84C245
monochromatic
#23236A #323298 #4545C2 #7373D1 #A1A1E0

Accessibility & contrast

On white

7.28
#4545C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4545C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545C2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545C2#FFFFFF#000000##FFFFFF
##4545C21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4545c2;
/* rgb */ color: rgb(69, 69, 194);
/* oklch */ color: oklch(47.1% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#8779d5',
    500: '#4545c2',
    950: '#000000',
  },
}
SCSS
$custom: #4545c2;
$custom-light: #8779d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4545c2",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.18979,
    "h": 276.3
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#4545C2
secondary
#CDCD96
accent
#DA4EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4545C2

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

Preview Lab → · Contrast checker → · Palette generator →

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