#4545C8#4545C8

#4545C8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.198 H 275.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4545C8
RGBrgb(69, 69, 200)
HSLhsl(240, 54%, 53%)
HSVhsv(240, 66%, 78%)
CMYKcmyk(65.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.28, 40.57, -68.10)
CIE-LCHlch(37.28, 79.27, 300.78°)
OKLaboklab(47.61% 0.0202 -0.1965)
OKLCHoklch(47.61% 0.198 275.9)
XYZxyz(15.0043, 9.6903, 55.7121)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545C8 #C8C845
analogous
#4586C8 #4545C8 #8645C8
triadic
#4545C8 #C84545 #45C845
tetradic
#4545C8 #C84586 #C8C845 #45C886
square
#4545C8 #C84586 #C8C845 #45C886
split-complementary
#4545C8 #C88645 #86C845
monochromatic
#212171 #2F2FA0 #4545C8 #7474D6 #A3A3E4

Accessibility & contrast

On white

7.15
#4545C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4545C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545C8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545C8#FFFFFF#000000##FFFFFF
##4545C81.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4545c8;
/* rgb */ color: rgb(69, 69, 200);
/* oklch */ color: oklch(47.6% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#8879da',
    500: '#4545c8',
    950: '#000000',
  },
}
SCSS
$custom: #4545c8;
$custom-light: #8879da;
$custom-dark: #000000;
JSON
{
  "hex": "#4545c8",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47609,
    "c": 0.19751,
    "h": 275.9
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#4545C8
secondary
#D1D198
accent
#DE4ADE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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