#4545C9#4545C9

#4545C9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.199 H 275.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4545C9
RGBrgb(69, 69, 201)
HSLhsl(240, 55%, 53%)
HSVhsv(240, 66%, 79%)
CMYKcmyk(65.7%, 65.7%, 0%, 21.2%)
CIE-LABlab(37.37, 40.90, -68.54)
CIE-LCHlch(37.37, 79.82, 300.83°)
OKLaboklab(47.7% 0.0201 -0.1978)
OKLCHoklch(47.7% 0.199 275.8)
XYZxyz(15.1215, 9.7372, 56.3296)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545C9 #C9C945
analogous
#4587C9 #4545C9 #8745C9
triadic
#4545C9 #C94545 #45C945
tetradic
#4545C9 #C94587 #C9C945 #45C987
square
#4545C9 #C94587 #C9C945 #45C987
split-complementary
#4545C9 #C98745 #87C945
monochromatic
#212172 #2F2FA2 #4545C9 #7474D7 #A4A4E5

Accessibility & contrast

On white

7.12
#4545C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4545C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545C9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545C9#FFFFFF#000000##FFFFFF
##4545C91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4545c9;
/* rgb */ color: rgb(69, 69, 201);
/* oklch */ color: oklch(47.7% 0.199 275.8);
Tailwind
colors: {
  custom: {
    50: '#8879da',
    500: '#4545c9',
    950: '#000000',
  },
}
SCSS
$custom: #4545c9;
$custom-light: #8879da;
$custom-dark: #000000;
JSON
{
  "hex": "#4545c9",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.19879,
    "h": 275.8
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#4545C9
secondary
#D1D198
accent
#DE49DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545C9

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

Preview Lab → · Contrast checker → · Palette generator →

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