#3A4471#3A4471

#3A4471 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.077 H 273.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3A4471
RGBrgb(58, 68, 113)
HSLhsl(229, 32%, 34%)
HSVhsv(229, 49%, 44%)
CMYKcmyk(48.7%, 39.8%, 0%, 55.7%)
CIE-LABlab(29.97, 9.32, -27.28)
CIE-LCHlch(29.97, 28.83, 288.85°)
OKLaboklab(39.97% 0.004 -0.0769)
OKLCHoklch(39.97% 0.077 273)
XYZxyz(6.7917, 6.2257, 16.4634)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4471 #71673A
analogous
#3A5F71 #3A4471 #4B3A71
triadic
#3A4471 #713A44 #44713A
tetradic
#3A4471 #713A5F #71673A #3A714B
square
#3A4471 #713A5F #71673A #3A714B
split-complementary
#3A4471 #714B3A #5F713A
monochromatic
#101320 #252C49 #3A4471 #4F5C99 #707DB6

Accessibility & contrast

On white

9.35
#3A4471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A4471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4471
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4471#FFFFFF#000000##FFFFFF
##3A44711.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#264D55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4471;
/* rgb */ color: rgb(58, 68, 113);
/* oklch */ color: oklch(40.0% 0.077 273.0);
Tailwind
colors: {
  custom: {
    50: '#73779a',
    500: '#3a4471',
    950: '#000000',
  },
}
SCSS
$custom: #3a4471;
$custom-light: #73779a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4471",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 229.091,
    "s": 32.164,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39973,
    "c": 0.07703,
    "h": 273
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#3A4471
secondary
#9F9568
accent
#B55FC8
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #3A4471

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

Preview Lab → · Contrast checker → · Palette generator →

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