#4545D7#4545D7

#4545D7 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.216 H 274.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4545D7
RGBrgb(69, 69, 215)
HSLhsl(240, 65%, 56%)
HSVhsv(240, 68%, 84%)
CMYKcmyk(67.9%, 67.9%, 0%, 15.7%)
CIE-LABlab(38.60, 45.52, -74.62)
CIE-LCHlch(38.60, 87.40, 301.38°)
OKLaboklab(48.97% 0.0185 -0.2155)
OKLCHoklch(48.97% 0.216 274.9)
XYZxyz(16.8441, 10.4262, 65.4016)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545D7 #D7D745
analogous
#458ED7 #4545D7 #8E45D7
triadic
#4545D7 #D74545 #45D745
tetradic
#4545D7 #D7458E #D7D745 #45D78E
square
#4545D7 #D7458E #D7D745 #45D78E
split-complementary
#4545D7 #D78E45 #8ED745
monochromatic
#1D1D85 #2727B7 #4545D7 #7777E2 #AAAAED

Accessibility & contrast

On white

6.81
#4545D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4545D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545D7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545D7#FFFFFF#000000##FFFFFF
##4545D71.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4545d7;
/* rgb */ color: rgb(69, 69, 215);
/* oklch */ color: oklch(49.0% 0.216 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b7ae5',
    500: '#4545d7',
    950: '#000000',
  },
}
SCSS
$custom: #4545d7;
$custom-light: #8b7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4545d7",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.21634,
    "h": 274.9
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#4545D7
secondary
#DADA9E
accent
#E840E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4545D7

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

Preview Lab → · Contrast checker → · Palette generator →

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