#3D548A#3D548A

#3D548A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.093 H 265.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3D548A
RGBrgb(61, 84, 138)
HSLhsl(222, 39%, 39%)
HSVhsv(222, 56%, 54%)
CMYKcmyk(55.8%, 39.1%, 0%, 45.9%)
CIE-LABlab(36.30, 8.06, -32.78)
CIE-LCHlch(36.30, 33.75, 283.81°)
OKLaboklab(45.36% -0.0074 -0.0928)
OKLCHoklch(45.36% 0.093 265.4)
XYZxyz(9.6807, 9.1670, 25.2991)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D548A #8A733D
analogous
#3D7B8A #3D548A #4D3D8A
triadic
#3D548A #8A3D54 #548A3D
tetradic
#3D548A #8A3D7B #8A733D #3D8A4D
square
#3D548A #8A3D7B #8A733D #3D8A4D
split-complementary
#3D548A #8A4D3D #7B8A3D
monochromatic
#172035 #2A3A60 #3D548A #526FB2 #7C92C5

Accessibility & contrast

On white

7.41
#3D548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D548A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D548A#FFFFFF#000000##FFFFFF
##3D548A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#136068
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d548a;
/* rgb */ color: rgb(61, 84, 138);
/* oklch */ color: oklch(45.4% 0.093 265.4);
Tailwind
colors: {
  custom: {
    50: '#7883ac',
    500: '#3d548a',
    950: '#000000',
  },
}
SCSS
$custom: #3d548a;
$custom-light: #7883ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d548a",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 222.078,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.09308,
    "h": 265.4
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#3D548A
secondary
#AF9D74
accent
#AC59CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D548A

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

Preview Lab → · Contrast checker → · Palette generator →

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