#3A476F#3A476F

#3A476F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.070 H 269.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3A476F
RGBrgb(58, 71, 111)
HSLhsl(225, 31%, 33%)
HSVhsv(225, 48%, 44%)
CMYKcmyk(47.7%, 36%, 0%, 56.5%)
CIE-LABlab(30.77, 6.66, -24.77)
CIE-LCHlch(30.77, 25.65, 285.04°)
OKLaboklab(40.55% -0.0007 -0.0696)
OKLCHoklch(40.55% 0.07 269.4)
XYZxyz(6.8665, 6.5533, 15.9389)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A476F #6F623A
analogous
#3A616F #3A476F #473A6F
triadic
#3A476F #6F3A47 #476F3A
tetradic
#3A476F #6F3A61 #6F623A #3A6F47
square
#3A476F #6F3A61 #6F623A #3A6F47
split-complementary
#3A476F #6F473A #616F3A
monochromatic
#10141F #252D47 #3A476F #4F6197 #6F80B4

Accessibility & contrast

On white

9.09
#3A476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A476F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A476F#FFFFFF#000000##FFFFFF
##3A476F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#33466E
Tritanopia (blue-blind)
#274F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a476f;
/* rgb */ color: rgb(58, 71, 111);
/* oklch */ color: oklch(40.6% 0.070 269.4);
Tailwind
colors: {
  custom: {
    50: '#737a98',
    500: '#3a476f',
    950: '#000000',
  },
}
SCSS
$custom: #3a476f;
$custom-light: #737a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3a476f",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 225.283,
    "s": 31.361,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.06961,
    "h": 269.4
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#3A476F
secondary
#9E9067
accent
#AE60C8
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #3A476F

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

Preview Lab → · Contrast checker → · Palette generator →

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