#4545E1#4545E1

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

Color values

HEX#4545E1
RGBrgb(69, 69, 225)
HSLhsl(240, 72%, 58%)
HSVhsv(240, 69%, 88%)
CMYKcmyk(69.3%, 69.3%, 0%, 11.8%)
CIE-LABlab(39.51, 48.77, -78.85)
CIE-LCHlch(39.51, 92.71, 301.74°)
OKLaboklab(49.9% 0.0172 -0.2279)
OKLCHoklch(49.9% 0.229 274.3)
XYZxyz(18.1685, 10.9560, 72.3768)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545E1 #E1E145
analogous
#4593E1 #4545E1 #9345E1
triadic
#4545E1 #E14545 #45E145
tetradic
#4545E1 #E14593 #E1E145 #45E193
square
#4545E1 #E14593 #E1E145 #45E193
split-complementary
#4545E1 #E19345 #93E145
monochromatic
#181894 #2020C8 #4545E1 #7A7AE9 #AEAEF2

Accessibility & contrast

On white

6.58
#4545E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4545E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545E1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545E1#FFFFFF#000000##FFFFFF
##4545E11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E6
Deuteranopia (green-blind)
#0056DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4545e1;
/* rgb */ color: rgb(69, 69, 225);
/* oklch */ color: oklch(49.9% 0.229 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d7aec',
    500: '#4545e1',
    950: '#000000',
  },
}
SCSS
$custom: #4545e1;
$custom-light: #8d7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4545e1",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.22856,
    "h": 274.3
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#4545E1
secondary
#E0E0A2
accent
#EF39EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4545E1

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

Preview Lab → · Contrast checker → · Palette generator →

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