#3C548D#3C548D

#3C548D is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.5% C 0.098 H 265.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3C548D
RGBrgb(60, 84, 141)
HSLhsl(222, 40%, 39%)
HSVhsv(222, 57%, 55%)
CMYKcmyk(57.4%, 40.4%, 0%, 44.7%)
CIE-LABlab(36.41, 8.87, -34.44)
CIE-LCHlch(36.41, 35.56, 284.44°)
OKLaboklab(45.48% -0.0077 -0.0977)
OKLCHoklch(45.48% 0.098 265.5)
XYZxyz(9.8399, 9.2236, 26.4559)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C548D #8D753C
analogous
#3C7D8D #3C548D #4C3C8D
triadic
#3C548D #8D3C54 #548D3C
tetradic
#3C548D #8D3C7D #8D753C #3C8D4C
square
#3C548D #8D3C7D #8D753C #3C8D4C
split-complementary
#3C548D #8D4C3C #7D8D3C
monochromatic
#172137 #2A3A62 #3C548D #516FB5 #7C92C7

Accessibility & contrast

On white

7.38
#3C548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3C548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C548D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C548D#FFFFFF#000000##FFFFFF
##3C548D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A8F
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#086169
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c548d;
/* rgb */ color: rgb(60, 84, 141);
/* oklch */ color: oklch(45.5% 0.098 265.5);
Tailwind
colors: {
  custom: {
    50: '#7883ae',
    500: '#3c548d',
    950: '#000000',
  },
}
SCSS
$custom: #3c548d;
$custom-light: #7883ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c548d",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 222.222,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.09797,
    "h": 265.5
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#3C548D
secondary
#B19F74
accent
#AC58D0
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C548D

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

Preview Lab → · Contrast checker → · Palette generator →

#3C548D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva