#4545D8#4545D8

#4545D8 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.218 H 274.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4545D8
RGBrgb(69, 69, 216)
HSLhsl(240, 65%, 56%)
HSVhsv(240, 68%, 85%)
CMYKcmyk(68.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(38.69, 45.84, -75.04)
CIE-LCHlch(38.69, 87.94, 301.42°)
OKLaboklab(49.06% 0.0184 -0.2168)
OKLCHoklch(49.06% 0.218 274.8)
XYZxyz(16.9729, 10.4778, 66.0804)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545D8 #D8D845
analogous
#458ED8 #4545D8 #8E45D8
triadic
#4545D8 #D84545 #45D845
tetradic
#4545D8 #D8458E #D8D845 #45D88E
square
#4545D8 #D8458E #D8D845 #45D88E
split-complementary
#4545D8 #D88E45 #8ED845
monochromatic
#1C1C86 #2727B9 #4545D8 #7878E3 #AAAAED

Accessibility & contrast

On white

6.78
#4545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545D8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545D8#FFFFFF#000000##FFFFFF
##4545D81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4545d8;
/* rgb */ color: rgb(69, 69, 216);
/* oklch */ color: oklch(49.1% 0.218 274.8);
Tailwind
colors: {
  custom: {
    50: '#8b7ae5',
    500: '#4545d8',
    950: '#000000',
  },
}
SCSS
$custom: #4545d8;
$custom-light: #8b7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4545d8",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.21758,
    "h": 274.8
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#4545D8
secondary
#DBDB9E
accent
#E840E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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