#3A477C#3A477C

#3A477C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.090 H 271.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3A477C
RGBrgb(58, 71, 124)
HSLhsl(228, 36%, 36%)
HSVhsv(228, 53%, 49%)
CMYKcmyk(53.2%, 42.7%, 0%, 51.4%)
CIE-LABlab(31.49, 11.05, -31.79)
CIE-LCHlch(31.49, 33.65, 289.17°)
OKLaboklab(41.34% 0.0025 -0.0901)
OKLCHoklch(41.34% 0.09 271.6)
XYZxyz(7.6351, 6.8608, 19.9868)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A477C #7C6F3A
analogous
#3A687C #3A477C #4E3A7C
triadic
#3A477C #7C3A47 #477C3A
tetradic
#3A477C #7C3A68 #7C6F3A #3A7C4E
square
#3A477C #7C3A68 #7C6F3A #3A7C4E
split-complementary
#3A477C #7C4E3A #687C3A
monochromatic
#131729 #262F52 #3A477C #4E5FA6 #7382BD

Accessibility & contrast

On white

8.85
#3A477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A477C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A477C#FFFFFF#000000##FFFFFF
##3A477C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#2B477B
Tritanopia (blue-blind)
#1D525B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a477c;
/* rgb */ color: rgb(58, 71, 124);
/* oklch */ color: oklch(41.3% 0.090 271.6);
Tailwind
colors: {
  custom: {
    50: '#757aa2',
    500: '#3a477c',
    950: '#000000',
  },
}
SCSS
$custom: #3a477c;
$custom-light: #757aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a477c",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 228.182,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.0901,
    "h": 271.6
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#3A477C
secondary
#A79B6B
accent
#B65CCC
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3A477C

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

Preview Lab → · Contrast checker → · Palette generator →

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