#4545C6#4545C6

#4545C6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.195 H 276.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4545C6
RGBrgb(69, 69, 198)
HSLhsl(240, 53%, 52%)
HSVhsv(240, 65%, 78%)
CMYKcmyk(65.2%, 65.2%, 0%, 22.4%)
CIE-LABlab(37.11, 39.90, -67.22)
CIE-LCHlch(37.11, 78.17, 300.70°)
OKLaboklab(47.43% 0.0204 -0.1939)
OKLCHoklch(47.43% 0.195 276)
XYZxyz(14.7721, 9.5974, 54.4892)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545C6 #C6C645
analogous
#4586C6 #4545C6 #8645C6
triadic
#4545C6 #C64545 #45C645
tetradic
#4545C6 #C64586 #C6C645 #45C686
square
#4545C6 #C64586 #C6C645 #45C686
split-complementary
#4545C6 #C68645 #86C645
monochromatic
#22226F #30309E #4545C6 #7474D4 #A3A3E3

Accessibility & contrast

On white

7.19
#4545C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4545C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545C6
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545C6#FFFFFF#000000##FFFFFF
##4545C61.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4545c6;
/* rgb */ color: rgb(69, 69, 198);
/* oklch */ color: oklch(47.4% 0.195 276.0);
Tailwind
colors: {
  custom: {
    50: '#8879d8',
    500: '#4545c6',
    950: '#000000',
  },
}
SCSS
$custom: #4545c6;
$custom-light: #8879d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4545c6",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.19496,
    "h": 276
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#4545C6
secondary
#CFCF97
accent
#DC4BDC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545C6

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

Preview Lab → · Contrast checker → · Palette generator →

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