#4545D1#4545D1

#4545D1 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.209 H 275.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4545D1
RGBrgb(69, 69, 209)
HSLhsl(240, 60%, 55%)
HSVhsv(240, 67%, 82%)
CMYKcmyk(67%, 67%, 0%, 18%)
CIE-LABlab(38.06, 43.55, -72.04)
CIE-LCHlch(38.06, 84.18, 301.15°)
OKLaboklab(48.42% 0.0192 -0.208)
OKLCHoklch(48.42% 0.209 275.3)
XYZxyz(16.0872, 10.1235, 61.4155)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545D1 #D1D145
analogous
#458BD1 #4545D1 #8B45D1
triadic
#4545D1 #D14545 #45D145
tetradic
#4545D1 #D1458B #D1D145 #45D18B
square
#4545D1 #D1458B #D1D145 #45D18B
split-complementary
#4545D1 #D18B45 #8BD145
monochromatic
#1F1F7D #2B2BAE #4545D1 #7676DD #A7A7E9

Accessibility & contrast

On white

6.94
#4545D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4545D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545D1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545D1#FFFFFF#000000##FFFFFF
##4545D11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4545d1;
/* rgb */ color: rgb(69, 69, 209);
/* oklch */ color: oklch(48.4% 0.209 275.3);
Tailwind
colors: {
  custom: {
    50: '#8a79e0',
    500: '#4545d1',
    950: '#000000',
  },
}
SCSS
$custom: #4545d1;
$custom-light: #8a79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4545d1",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 240,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.20889,
    "h": 275.3
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#4545D1
secondary
#D7D79B
accent
#E344E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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