#3A4076#3A4076

#3A4076 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.091 H 276.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3A4076
RGBrgb(58, 64, 118)
HSLhsl(234, 34%, 35%)
HSVhsv(234, 51%, 46%)
CMYKcmyk(50.8%, 45.8%, 0%, 53.7%)
CIE-LABlab(29.09, 13.69, -31.84)
CIE-LCHlch(29.09, 34.65, 293.26°)
OKLaboklab(39.39% 0.0104 -0.0903)
OKLCHoklch(39.39% 0.091 276.6)
XYZxyz(6.8473, 5.8739, 17.9090)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4076 #76703A
analogous
#3A5E76 #3A4076 #523A76
triadic
#3A4076 #763A40 #40763A
tetradic
#3A4076 #763A5E #76703A #3A7652
square
#3A4076 #763A5E #76703A #3A7652
split-complementary
#3A4076 #76523A #5E763A
monochromatic
#121324 #262A4D #3A4076 #4E569F #7178B9

Accessibility & contrast

On white

9.66
#3A4076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A4076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4076
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4076#FFFFFF#000000##FFFFFF
##3A40761.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#254275
Tritanopia (blue-blind)
#234B55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4076;
/* rgb */ color: rgb(58, 64, 118);
/* oklch */ color: oklch(39.4% 0.091 276.6);
Tailwind
colors: {
  custom: {
    50: '#74749e',
    500: '#3a4076',
    950: '#000000',
  },
}
SCSS
$custom: #3a4076;
$custom-light: #74749e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4076",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 234,
    "s": 34.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.09087,
    "h": 276.6
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#3A4076
secondary
#A39D69
accent
#BF5ECA
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #3A4076

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

Preview Lab → · Contrast checker → · Palette generator →

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