#4545C5#4545C5

#4545C5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.194 H 276.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4545C5
RGBrgb(69, 69, 197)
HSLhsl(240, 52%, 52%)
HSVhsv(240, 65%, 77%)
CMYKcmyk(65%, 65%, 0%, 22.7%)
CIE-LABlab(37.02, 39.57, -66.77)
CIE-LCHlch(37.02, 77.62, 300.65°)
OKLaboklab(47.34% 0.0205 -0.1926)
OKLCHoklch(47.34% 0.194 276.1)
XYZxyz(14.6571, 9.5514, 53.8837)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545C5 #C5C545
analogous
#4585C5 #4545C5 #8545C5
triadic
#4545C5 #C54545 #45C545
tetradic
#4545C5 #C54585 #C5C545 #45C585
square
#4545C5 #C54585 #C5C545 #45C585
split-complementary
#4545C5 #C58545 #85C545
monochromatic
#22226D #31319C #4545C5 #7474D4 #A2A2E2

Accessibility & contrast

On white

7.22
#4545C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4545C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545C5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545C5#FFFFFF#000000##FFFFFF
##4545C51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4545c5;
/* rgb */ color: rgb(69, 69, 197);
/* oklch */ color: oklch(47.3% 0.194 276.1);
Tailwind
colors: {
  custom: {
    50: '#8879d8',
    500: '#4545c5',
    950: '#000000',
  },
}
SCSS
$custom: #4545c5;
$custom-light: #8879d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4545c5",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.19367,
    "h": 276.1
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#4545C5
secondary
#CFCF97
accent
#DC4CDC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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