#3C548A#3C548A

#3C548A is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.093 H 264.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3C548A
RGBrgb(60, 84, 138)
HSLhsl(222, 39%, 39%)
HSVhsv(222, 57%, 54%)
CMYKcmyk(56.5%, 39.1%, 0%, 45.9%)
CIE-LABlab(36.24, 7.82, -32.87)
CIE-LCHlch(36.24, 33.79, 283.38°)
OKLaboklab(45.3% -0.0085 -0.0931)
OKLCHoklch(45.3% 0.093 264.8)
XYZxyz(9.6197, 9.1356, 25.2962)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C548A #8A723C
analogous
#3C7B8A #3C548A #4B3C8A
triadic
#3C548A #8A3C54 #548A3C
tetradic
#3C548A #8A3C7B #8A723C #3C8A4B
square
#3C548A #8A3C7B #8A723C #3C8A4B
split-complementary
#3C548A #8A4B3C #7B8A3C
monochromatic
#172035 #293A5F #3C548A #506FB3 #7B92C6

Accessibility & contrast

On white

7.43
#3C548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3C548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C548A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C548A#FFFFFF#000000##FFFFFF
##3C548A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#0E6068
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c548a;
/* rgb */ color: rgb(60, 84, 138);
/* oklch */ color: oklch(45.3% 0.093 264.8);
Tailwind
colors: {
  custom: {
    50: '#7883ac',
    500: '#3c548a',
    950: '#000000',
  },
}
SCSS
$custom: #3c548a;
$custom-light: #7883ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c548a",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 221.538,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.09347,
    "h": 264.8
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#3C548A
secondary
#AF9D73
accent
#AB59CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C548A

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

Preview Lab → · Contrast checker → · Palette generator →

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