#4545D2#4545D2

#4545D2 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.210 H 275.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4545D2
RGBrgb(69, 69, 210)
HSLhsl(240, 61%, 55%)
HSVhsv(240, 67%, 82%)
CMYKcmyk(67.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.15, 43.88, -72.47)
CIE-LCHlch(38.15, 84.72, 301.19°)
OKLaboklab(48.51% 0.0191 -0.2093)
OKLCHoklch(48.51% 0.21 275.2)
XYZxyz(16.2114, 10.1731, 62.0696)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545D2 #D2D245
analogous
#458CD2 #4545D2 #8C45D2
triadic
#4545D2 #D24545 #45D245
tetradic
#4545D2 #D2458C #D2D245 #45D28C
square
#4545D2 #D2458C #D2D245 #45D28C
split-complementary
#4545D2 #D28C45 #8CD245
monochromatic
#1F1F7E #2A2AAF #4545D2 #7676DE #A8A8EA

Accessibility & contrast

On white

6.92
#4545D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4545D2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545D2#FFFFFF#000000##FFFFFF
##4545D21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4545d2;
/* rgb */ color: rgb(69, 69, 210);
/* oklch */ color: oklch(48.5% 0.210 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a79e1',
    500: '#4545d2',
    950: '#000000',
  },
}
SCSS
$custom: #4545d2;
$custom-light: #8a79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4545d2",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.21014,
    "h": 275.2
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#4545D2
secondary
#D7D79C
accent
#E444E4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545D2

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

Preview Lab → · Contrast checker → · Palette generator →

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