#3A477A#3A477A

#3A477A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.087 H 271.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3A477A
RGBrgb(58, 71, 122)
HSLhsl(228, 36%, 35%)
HSVhsv(228, 52%, 48%)
CMYKcmyk(52.5%, 41.8%, 0%, 52.2%)
CIE-LABlab(31.37, 10.36, -30.72)
CIE-LCHlch(31.37, 32.43, 288.64°)
OKLaboklab(41.21% 0.0021 -0.087)
OKLCHoklch(41.21% 0.087 271.4)
XYZxyz(7.5099, 6.8107, 19.3274)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A477A #7A6D3A
analogous
#3A677A #3A477A #4D3A7A
triadic
#3A477A #7A3A47 #477A3A
tetradic
#3A477A #7A3A67 #7A6D3A #3A7A4D
square
#3A477A #7A3A67 #7A6D3A #3A7A4D
split-complementary
#3A477A #7A4D3A #677A3A
monochromatic
#131727 #262F51 #3A477A #4E5FA3 #7281BC

Accessibility & contrast

On white

8.89
#3A477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A477A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A477A#FFFFFF#000000##FFFFFF
##3A477A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#1F525A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a477a;
/* rgb */ color: rgb(58, 71, 122);
/* oklch */ color: oklch(41.2% 0.087 271.4);
Tailwind
colors: {
  custom: {
    50: '#757aa1',
    500: '#3a477a',
    950: '#000000',
  },
}
SCSS
$custom: #3a477a;
$custom-light: #757aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a477a",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 227.813,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.08698,
    "h": 271.4
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#3A477A
secondary
#A69A6A
accent
#B55CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #3A477A

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

Preview Lab → · Contrast checker → · Palette generator →

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