#4545CD#4545CD

#4545CD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.204 H 275.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4545CD
RGBrgb(69, 69, 205)
HSLhsl(240, 58%, 54%)
HSVhsv(240, 66%, 80%)
CMYKcmyk(66.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(37.71, 42.23, -70.30)
CIE-LCHlch(37.71, 82.00, 300.99°)
OKLaboklab(48.06% 0.0197 -0.2029)
OKLCHoklch(48.06% 0.204 275.5)
XYZxyz(15.5982, 9.9279, 58.8400)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545CD #CDCD45
analogous
#4589CD #4545CD #8945CD
triadic
#4545CD #CD4545 #45CD45
tetradic
#4545CD #CD4589 #CDCD45 #45CD89
square
#4545CD #CD4589 #CDCD45 #45CD89
split-complementary
#4545CD #CD8945 #89CD45
monochromatic
#202077 #2D2DA8 #4545CD #7575DA #A5A5E7

Accessibility & contrast

On white

7.03
#4545CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4545CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545CD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545CD#FFFFFF#000000##FFFFFF
##4545CD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4545cd;
/* rgb */ color: rgb(69, 69, 205);
/* oklch */ color: oklch(48.1% 0.204 275.5);
Tailwind
colors: {
  custom: {
    50: '#8979dd',
    500: '#4545cd',
    950: '#000000',
  },
}
SCSS
$custom: #4545cd;
$custom-light: #8979dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4545cd",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.20386,
    "h": 275.5
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#4545CD
secondary
#D4D49A
accent
#E147E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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