#3A4074#3A4074

#3A4074 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.088 H 276.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3A4074
RGBrgb(58, 64, 116)
HSLhsl(234, 33%, 34%)
HSVhsv(234, 50%, 45%)
CMYKcmyk(50%, 44.8%, 0%, 54.5%)
CIE-LABlab(28.97, 13.01, -30.77)
CIE-LCHlch(28.97, 33.40, 292.92°)
OKLaboklab(39.26% 0.0101 -0.0871)
OKLCHoklch(39.26% 0.088 276.6)
XYZxyz(6.7297, 5.8269, 17.2897)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4074 #746E3A
analogous
#3A5D74 #3A4074 #513A74
triadic
#3A4074 #743A40 #40743A
tetradic
#3A4074 #743A5D #746E3A #3A7451
square
#3A4074 #743A5D #746E3A #3A7451
split-complementary
#3A4074 #74513A #5D743A
monochromatic
#111322 #26294B #3A4074 #4E579D #7178B8

Accessibility & contrast

On white

9.70
#3A4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4074
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4074#FFFFFF#000000##FFFFFF
##3A40741.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#274273
Tritanopia (blue-blind)
#244B54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a4074;
/* rgb */ color: rgb(58, 64, 116);
/* oklch */ color: oklch(39.3% 0.088 276.6);
Tailwind
colors: {
  custom: {
    50: '#74749c',
    500: '#3a4074',
    950: '#000000',
  },
}
SCSS
$custom: #3a4074;
$custom-light: #74749c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4074",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 233.793,
    "s": 33.333,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39261,
    "c": 0.08771,
    "h": 276.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#3A4074
secondary
#A19B68
accent
#BE5EC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #3A4074

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

Preview Lab → · Contrast checker → · Palette generator →

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