#4545E2#4545E2

#4545E2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.230 H 274.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4545E2
RGBrgb(69, 69, 226)
HSLhsl(240, 73%, 58%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(69.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(39.60, 49.10, -79.26)
CIE-LCHlch(39.60, 93.24, 301.77°)
OKLaboklab(49.99% 0.017 -0.2291)
OKLCHoklch(49.99% 0.23 274.3)
XYZxyz(18.3053, 11.0107, 73.0973)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545E2 #E2E245
analogous
#4593E2 #4545E2 #9345E2
triadic
#4545E2 #E24545 #45E245
tetradic
#4545E2 #E24593 #E2E245 #45E293
square
#4545E2 #E24593 #E2E245 #45E293
split-complementary
#4545E2 #E29345 #93E245
monochromatic
#171795 #2020CA #4545E2 #7A7AEA #AFAFF3

Accessibility & contrast

On white

6.56
#4545E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4545E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545E2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545E2#FFFFFF#000000##FFFFFF
##4545E21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4545e2;
/* rgb */ color: rgb(69, 69, 226);
/* oklch */ color: oklch(50.0% 0.230 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d7aec',
    500: '#4545e2',
    950: '#000000',
  },
}
SCSS
$custom: #4545e2;
$custom-light: #8d7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4545e2",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.22976,
    "h": 274.3
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#4545E2
secondary
#E1E1A2
accent
#F038F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4545E2

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

Preview Lab → · Contrast checker → · Palette generator →

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