#4545D5#4545D5

#4545D5 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.214 H 275.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4545D5
RGBrgb(69, 69, 213)
HSLhsl(240, 63%, 55%)
HSVhsv(240, 68%, 84%)
CMYKcmyk(67.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(38.42, 44.86, -73.76)
CIE-LCHlch(38.42, 86.33, 301.31°)
OKLaboklab(48.78% 0.0187 -0.213)
OKLCHoklch(48.78% 0.214 275)
XYZxyz(16.5886, 10.3240, 64.0564)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545D5 #D5D545
analogous
#458DD5 #4545D5 #8D45D5
triadic
#4545D5 #D54545 #45D545
tetradic
#4545D5 #D5458D #D5D545 #45D58D
square
#4545D5 #D5458D #D5D545 #45D58D
split-complementary
#4545D5 #D58D45 #8DD545
monochromatic
#1D1D82 #2929B4 #4545D5 #7777E0 #A9A9EC

Accessibility & contrast

On white

6.85
#4545D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4545D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545D5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545D5#FFFFFF#000000##FFFFFF
##4545D51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4545d5;
/* rgb */ color: rgb(69, 69, 213);
/* oklch */ color: oklch(48.8% 0.214 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b79e3',
    500: '#4545d5',
    950: '#000000',
  },
}
SCSS
$custom: #4545d5;
$custom-light: #8b79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4545d5",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.21386,
    "h": 275
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#4545D5
secondary
#D9D99D
accent
#E642E6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4545D5

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

Preview Lab → · Contrast checker → · Palette generator →

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