#3A476D#3A476D

#3A476D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.066 H 268.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3A476D
RGBrgb(58, 71, 109)
HSLhsl(225, 31%, 33%)
HSVhsv(225, 47%, 43%)
CMYKcmyk(46.8%, 34.9%, 0%, 57.3%)
CIE-LABlab(30.66, 6.00, -23.67)
CIE-LCHlch(30.66, 24.42, 284.22°)
OKLaboklab(40.44% -0.0012 -0.0664)
OKLCHoklch(40.44% 0.066 268.9)
XYZxyz(6.7576, 6.5098, 15.3655)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A476D #6D603A
analogous
#3A606D #3A476D #463A6D
triadic
#3A476D #6D3A47 #476D3A
tetradic
#3A476D #6D3A60 #6D603A #3A6D46
square
#3A476D #6D3A60 #6D603A #3A6D46
split-complementary
#3A476D #6D463A #606D3A
monochromatic
#0F131D #252D45 #3A476D #4F6195 #6F80B2

Accessibility & contrast

On white

9.12
#3A476D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A476D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A476D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A476D#FFFFFF#000000##FFFFFF
##3A476D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B6F
Deuteranopia (green-blind)
#34466C
Tritanopia (blue-blind)
#284F55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a476d;
/* rgb */ color: rgb(58, 71, 109);
/* oklch */ color: oklch(40.4% 0.066 268.9);
Tailwind
colors: {
  custom: {
    50: '#737a97',
    500: '#3a476d',
    950: '#000000',
  },
}
SCSS
$custom: #3a476d;
$custom-light: #737a97;
$custom-dark: #000000;
JSON
{
  "hex": "#3a476d",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 224.706,
    "s": 30.539,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.06643,
    "h": 268.9
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#3A476D
secondary
#9C8F67
accent
#AD61C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #3A476D

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

Preview Lab → · Contrast checker → · Palette generator →

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