#4545B7#4545B7

#4545B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.175 H 277.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4545B7
RGBrgb(69, 69, 183)
HSLhsl(240, 45%, 49%)
HSVhsv(240, 62%, 72%)
CMYKcmyk(62.3%, 62.3%, 0%, 28.2%)
CIE-LABlab(35.87, 34.88, -60.45)
CIE-LCHlch(35.87, 69.80, 299.99°)
OKLaboklab(46.14% 0.0215 -0.174)
OKLCHoklch(46.14% 0.175 277)
XYZxyz(13.1268, 8.9393, 45.8243)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545B7 #B7B745
analogous
#457EB7 #4545B7 #7E45B7
triadic
#4545B7 #B74545 #45B745
tetradic
#4545B7 #B7457E #B7B745 #45B77E
square
#4545B7 #B7457E #B7B745 #45B77E
split-complementary
#4545B7 #B77E45 #7EB745
monochromatic
#23235E #34348B #4545B7 #7070C9 #9D9DDA

Accessibility & contrast

On white

7.53
#4545B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4545B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545B7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545B7#FFFFFF#000000##FFFFFF
##4545B71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4545b7;
/* rgb */ color: rgb(69, 69, 183);
/* oklch */ color: oklch(46.1% 0.175 277.0);
Tailwind
colors: {
  custom: {
    50: '#8579cd',
    500: '#4545b7',
    950: '#000000',
  },
}
SCSS
$custom: #4545b7;
$custom-light: #8579cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4545b7",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.17536,
    "h": 277
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4545B7
secondary
#C6C692
accent
#D553D5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4545B7

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

Preview Lab → · Contrast checker → · Palette generator →

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