#3A476A#3A476A

#3A476A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.062 H 268.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3A476A
RGBrgb(58, 71, 106)
HSLhsl(224, 29%, 32%)
HSVhsv(224, 45%, 42%)
CMYKcmyk(45.3%, 33%, 0%, 58.4%)
CIE-LABlab(30.51, 5.02, -22.01)
CIE-LCHlch(30.51, 22.57, 282.85°)
OKLaboklab(40.27% -0.0021 -0.0616)
OKLCHoklch(40.27% 0.062 268)
XYZxyz(6.5989, 6.4463, 14.5294)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A476A #6A5D3A
analogous
#3A5F6A #3A476A #453A6A
triadic
#3A476A #6A3A47 #476A3A
tetradic
#3A476A #6A3A5F #6A5D3A #3A6A45
square
#3A476A #6A3A5F #6A5D3A #3A6A45
split-complementary
#3A476A #6A453A #5F6A3A
monochromatic
#0F121B #242D42 #3A476A #506192 #6E80B0

Accessibility & contrast

On white

9.17
#3A476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A476A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A476A#FFFFFF#000000##FFFFFF
##3A476A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4A6B
Deuteranopia (green-blind)
#364669
Tritanopia (blue-blind)
#294E53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a476a;
/* rgb */ color: rgb(58, 71, 106);
/* oklch */ color: oklch(40.3% 0.062 268.0);
Tailwind
colors: {
  custom: {
    50: '#727a94',
    500: '#3a476a',
    950: '#000000',
  },
}
SCSS
$custom: #3a476a;
$custom-light: #727a94;
$custom-dark: #000000;
JSON
{
  "hex": "#3a476a",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 223.75,
    "s": 29.268,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.06165,
    "h": 268
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#3A476A
secondary
#9A8C66
accent
#AB62C6
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #3A476A

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

Preview Lab → · Contrast checker → · Palette generator →

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