#4545B2#4545B2

#4545B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.169 H 277.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4545B2
RGBrgb(69, 69, 178)
HSLhsl(240, 44%, 48%)
HSVhsv(240, 61%, 70%)
CMYKcmyk(61.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(35.47, 33.20, -58.15)
CIE-LCHlch(35.47, 66.96, 299.73°)
OKLaboklab(45.72% 0.0217 -0.1673)
OKLCHoklch(45.72% 0.169 277.4)
XYZxyz(12.6157, 8.7348, 43.1320)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545B2 #B2B245
analogous
#457BB2 #4545B2 #7B45B2
triadic
#4545B2 #B24545 #45B245
tetradic
#4545B2 #B2457B #B2B245 #45B27B
square
#4545B2 #B2457B #B2B245 #45B27B
split-complementary
#4545B2 #B27B45 #7BB245
monochromatic
#23235A #343486 #4545B2 #6E6EC7 #9A9AD8

Accessibility & contrast

On white

7.64
#4545B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4545B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545B2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545B2#FFFFFF#000000##FFFFFF
##4545B21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4545b2;
/* rgb */ color: rgb(69, 69, 178);
/* oklch */ color: oklch(45.7% 0.169 277.4);
Tailwind
colors: {
  custom: {
    50: '#8479ca',
    500: '#4545b2',
    950: '#000000',
  },
}
SCSS
$custom: #4545b2;
$custom-light: #8479ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4545b2",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.16866,
    "h": 277.4
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#4545B2
secondary
#C4C48F
accent
#D454D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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