#3A548C#3A548C

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

Color values

HEX#3A548C
RGBrgb(58, 84, 140)
HSLhsl(221, 41%, 39%)
HSVhsv(221, 59%, 55%)
CMYKcmyk(58.6%, 40%, 0%, 45.1%)
CIE-LABlab(36.24, 8.07, -34.11)
CIE-LCHlch(36.24, 35.05, 283.31°)
OKLaboklab(45.3% -0.01 -0.0967)
OKLCHoklch(45.3% 0.097 264.1)
XYZxyz(9.6473, 9.1329, 26.0603)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A548C #8C723A
analogous
#3A7D8C #3A548C #493A8C
triadic
#3A548C #8C3A54 #548C3A
tetradic
#3A548C #8C3A7D #8C723A #3A8C49
square
#3A548C #8C3A7D #8C723A #3A8C49
split-complementary
#3A548C #8C493A #7D8C3A
monochromatic
#162035 #283A61 #3A548C #4E6FB6 #7992C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A548C#FFFFFF#000000##FFFFFF
##3A548C1.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)
#3D598E
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a548c;
/* rgb */ color: rgb(58, 84, 140);
/* oklch */ color: oklch(45.3% 0.097 264.1);
Tailwind
colors: {
  custom: {
    50: '#7783ae',
    500: '#3a548c',
    950: '#000000',
  },
}
SCSS
$custom: #3a548c;
$custom-light: #7783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a548c",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 220.976,
    "s": 41.414,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.09726,
    "h": 264.1
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#3A548C
secondary
#B19D71
accent
#AA57D1
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A548C

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

Preview Lab → · Contrast checker → · Palette generator →

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