#3A4372#3A4372

#3A4372 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.080 H 274.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3A4372
RGBrgb(58, 67, 114)
HSLhsl(230, 33%, 34%)
HSVhsv(230, 49%, 45%)
CMYKcmyk(49.1%, 41.2%, 0%, 55.3%)
CIE-LABlab(29.73, 10.32, -28.29)
CIE-LCHlch(29.73, 30.12, 290.04°)
OKLaboklab(39.81% 0.0056 -0.0799)
OKLCHoklch(39.81% 0.08 274)
XYZxyz(6.7884, 6.1284, 16.7415)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4372 #72693A
analogous
#3A5F72 #3A4372 #4D3A72
triadic
#3A4372 #723A43 #43723A
tetradic
#3A4372 #723A5F #72693A #3A724D
square
#3A4372 #723A5F #72693A #3A724D
split-complementary
#3A4372 #724D3A #5F723A
monochromatic
#111321 #252B49 #3A4372 #4F5B9B #707BB6

Accessibility & contrast

On white

9.43
#3A4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4372
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4372#FFFFFF#000000##FFFFFF
##3A43721.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#254D55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a4372;
/* rgb */ color: rgb(58, 67, 114);
/* oklch */ color: oklch(39.8% 0.080 274.0);
Tailwind
colors: {
  custom: {
    50: '#74769b',
    500: '#3a4372',
    950: '#000000',
  },
}
SCSS
$custom: #3a4372;
$custom-light: #74769b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4372",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 230.357,
    "s": 32.558,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39807,
    "c": 0.08009,
    "h": 274
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#3A4372
secondary
#A09768
accent
#B85FC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #3A4372

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

Preview Lab → · Contrast checker → · Palette generator →

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