#4545CC#4545CC

#4545CC is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.203 H 275.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4545CC
RGBrgb(69, 69, 204)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 66%, 80%)
CMYKcmyk(66.2%, 66.2%, 0%, 20%)
CIE-LABlab(37.63, 41.90, -69.86)
CIE-LCHlch(37.63, 81.46, 300.95°)
OKLaboklab(47.97% 0.0198 -0.2016)
OKLCHoklch(47.97% 0.203 275.6)
XYZxyz(15.4779, 9.8797, 58.2063)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545CC #CCCC45
analogous
#4588CC #4545CC #8845CC
triadic
#4545CC #CC4545 #45CC45
tetradic
#4545CC #CC4588 #CCCC45 #45CC88
square
#4545CC #CC4588 #CCCC45 #45CC88
split-complementary
#4545CC #CC8845 #88CC45
monochromatic
#202076 #2E2EA6 #4545CC #7575D9 #A5A5E6

Accessibility & contrast

On white

7.06
#4545CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4545CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545CC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545CC#FFFFFF#000000##FFFFFF
##4545CC1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4545cc;
/* rgb */ color: rgb(69, 69, 204);
/* oklch */ color: oklch(48.0% 0.203 275.6);
Tailwind
colors: {
  custom: {
    50: '#8979dd',
    500: '#4545cc',
    950: '#000000',
  },
}
SCSS
$custom: #4545cc;
$custom-light: #8979dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4545cc",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.2026,
    "h": 275.6
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#4545CC
secondary
#D3D399
accent
#E048E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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