#3C548F#3C548F

#3C548F is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.101 H 265.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3C548F
RGBrgb(60, 84, 143)
HSLhsl(223, 41%, 40%)
HSVhsv(223, 58%, 56%)
CMYKcmyk(58%, 41.3%, 0%, 43.9%)
CIE-LABlab(36.52, 9.56, -35.47)
CIE-LCHlch(36.52, 36.74, 285.09°)
OKLaboklab(45.61% -0.0073 -0.1007)
OKLCHoklch(45.61% 0.101 265.8)
XYZxyz(9.9901, 9.2837, 27.2468)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C548F #8F773C
analogous
#3C7D8F #3C548F #4E3C8F
triadic
#3C548F #8F3C54 #548F3C
tetradic
#3C548F #8F3C7D #8F773C #3C8F4E
square
#3C548F #8F3C7D #8F773C #3C8F4E
split-complementary
#3C548F #8F4E3C #7D8F3C
monochromatic
#182139 #2A3B64 #3C548F #526FB6 #7D93C8

Accessibility & contrast

On white

7.35
#3C548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3C548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C548F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C548F#FFFFFF#000000##FFFFFF
##3C548F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#31528E
Tritanopia (blue-blind)
#03616A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c548f;
/* rgb */ color: rgb(60, 84, 143);
/* oklch */ color: oklch(45.6% 0.101 265.8);
Tailwind
colors: {
  custom: {
    50: '#7883b0',
    500: '#3c548f',
    950: '#000000',
  },
}
SCSS
$custom: #3c548f;
$custom-light: #7883b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c548f",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 222.651,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.10096,
    "h": 265.8
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#3C548F
secondary
#B2A075
accent
#AE57D1
background
#F7F8FA
surface
#EEEFF5
border
#C9CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C548F

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

Preview Lab → · Contrast checker → · Palette generator →

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