#3A548D#3A548D

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

Color values

HEX#3A548D
RGBrgb(58, 84, 141)
HSLhsl(221, 42%, 39%)
HSVhsv(221, 59%, 55%)
CMYKcmyk(58.9%, 40.4%, 0%, 44.7%)
CIE-LABlab(36.30, 8.42, -34.63)
CIE-LCHlch(36.30, 35.64, 283.66°)
OKLaboklab(45.36% -0.0098 -0.0983)
OKLCHoklch(45.36% 0.099 264.3)
XYZxyz(9.7213, 9.1625, 26.4504)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A548D #8D733A
analogous
#3A7E8D #3A548D #4A3A8D
triadic
#3A548D #8D3A54 #548D3A
tetradic
#3A548D #8D3A7E #8D733A #3A8D4A
square
#3A548D #8D3A7E #8D733A #3A8D4A
split-complementary
#3A548D #8D4A3A #7E8D3A
monochromatic
#162036 #283A62 #3A548D #4E6FB6 #7992C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A548D#FFFFFF#000000##FFFFFF
##3A548D1.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)
#3C598F
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a548d;
/* rgb */ color: rgb(58, 84, 141);
/* oklch */ color: oklch(45.4% 0.099 264.3);
Tailwind
colors: {
  custom: {
    50: '#7783ae',
    500: '#3a548d',
    950: '#000000',
  },
}
SCSS
$custom: #3a548d;
$custom-light: #7783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a548d",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 221.205,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.09875,
    "h": 264.3
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#3A548D
secondary
#B19D71
accent
#AB56D2
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A548D

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

Preview Lab → · Contrast checker → · Palette generator →

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