#3A477E#3A477E

#3A477E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.093 H 271.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3A477E
RGBrgb(58, 71, 126)
HSLhsl(229, 37%, 36%)
HSVhsv(229, 54%, 49%)
CMYKcmyk(54%, 43.7%, 0%, 50.6%)
CIE-LABlab(31.61, 11.74, -32.85)
CIE-LCHlch(31.61, 34.88, 289.67°)
OKLaboklab(41.47% 0.0029 -0.0932)
OKLCHoklch(41.47% 0.093 271.8)
XYZxyz(7.7628, 6.9119, 20.6597)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A477E #7E713A
analogous
#3A697E #3A477E #4F3A7E
triadic
#3A477E #7E3A47 #477E3A
tetradic
#3A477E #7E3A69 #7E713A #3A7E4F
square
#3A477E #7E3A69 #7E713A #3A7E4F
split-complementary
#3A477E #7E4F3A #697E3A
monochromatic
#13182A #272F54 #3A477E #4D5FA8 #7482BF

Accessibility & contrast

On white

8.81
#3A477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A477E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A477E#FFFFFF#000000##FFFFFF
##3A477E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#1B535C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a477e;
/* rgb */ color: rgb(58, 71, 126);
/* oklch */ color: oklch(41.5% 0.093 271.8);
Tailwind
colors: {
  custom: {
    50: '#757aa4',
    500: '#3a477e',
    950: '#000000',
  },
}
SCSS
$custom: #3a477e;
$custom-light: #757aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a477e",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 228.529,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.09321,
    "h": 271.8
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#3A477E
secondary
#A89D6C
accent
#B75BCD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3A477E

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

Preview Lab → · Contrast checker → · Palette generator →

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