#3C548E#3C548E

#3C548E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.099 H 265.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3C548E
RGBrgb(60, 84, 142)
HSLhsl(222, 41%, 40%)
HSVhsv(222, 58%, 56%)
CMYKcmyk(57.7%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.47, 9.21, -34.95)
CIE-LCHlch(36.47, 36.15, 284.77°)
OKLaboklab(45.54% -0.0075 -0.0992)
OKLCHoklch(45.54% 0.099 265.7)
XYZxyz(9.9146, 9.2535, 26.8496)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C548E #8E763C
analogous
#3C7D8E #3C548E #4D3C8E
triadic
#3C548E #8E3C54 #548E3C
tetradic
#3C548E #8E3C7D #8E763C #3C8E4D
square
#3C548E #8E3C7D #8E763C #3C8E4D
split-complementary
#3C548E #8E4D3C #7D8E3C
monochromatic
#182138 #2A3B63 #3C548E #526FB6 #7D93C8

Accessibility & contrast

On white

7.37
#3C548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3C548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C548E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C548E#FFFFFF#000000##FFFFFF
##3C548E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#05616A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c548e;
/* rgb */ color: rgb(60, 84, 142);
/* oklch */ color: oklch(45.5% 0.099 265.7);
Tailwind
colors: {
  custom: {
    50: '#7883af',
    500: '#3c548e',
    950: '#000000',
  },
}
SCSS
$custom: #3c548e;
$custom-light: #7883af;
$custom-dark: #000000;
JSON
{
  "hex": "#3c548e",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 222.439,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.09946,
    "h": 265.7
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#3C548E
secondary
#B2A074
accent
#AD57D0
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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