Skip to main content

#3A4A8C Dark Slate Blue

The nearest named color to #3A4A8C is Dark Slate Blue (#483D8B).

#3A4A8C

Dark Slate Blue

What are the RGB, HSL, OKLCH and CMYK values of #3A4A8C?

HEX
#3A4A8C
RGB
rgb(58, 74, 140)
HSL
hsl(228, 41%, 39%)
OKLCH
oklch(43.1% 0.110 271)
CMYK
59, 47, 0, 45

#3A4A8C has a contrast ratio of 8.27:1 against white and 2.54:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #3A4A8C
#3A4A8C
Same color
White
8.3AAA
Near-black
2.1Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #3A4A8C · 8.3:1

Tints and shades of #3A4A8C

Same hue and chroma in OKLCH, lighter to darker.

  1. #F1F5FF
  2. #C6D4FF
  3. #9CB3FE
  4. #7F94DD
  5. #6477BD
  6. #495B9E
  7. #3A4A8C
  8. #1A2463
  9. #080847

Colors that go with #3A4A8C

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Dark Slate Blue, #3A4A8C and Royal Purple, #6446A9 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --dark-slate-blue-1: #3A4A8C; /* Dark Slate Blue */
}

Palettes, gradients and meshes with #3A4A8C

Items using this color or one perceptually close to it, closest first.

Palettes (14)

Gradients (1)

Mesh gradients (6)