Skip to main content

#400068 Indigo

The nearest named color to #400068 is Indigo (#4B0082).

#400068

Indigo

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

HEX
#400068
RGB
rgb(64, 0, 104)
HSL
hsl(277, 100%, 20%)
OKLCH
oklch(29.7% 0.154 305)
CMYK
38, 100, 0, 59

#400068 has a contrast ratio of 14.81:1 against white and 1.42: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 → #400068
#400068
Same color
White
14.8AAA
Near-black
1.2Fail

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 #400068 · 14.8:1

Tints and shades of #400068

Same hue and chroma in OKLCH, lighter to darker.

  1. #F8F2FF
  2. #E1C9FF
  3. #CC9EFF
  4. #AF7DE4
  5. #9260C4
  6. #7543A4
  7. #5A2586
  8. #400068
  9. #22003A

Colors that go with #400068

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. Indigo, #400068 and Midnight Blue, #0B005C; Indigo, #400068 and Oxford Blue, #00235C become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --indigo-1: #400068; /* Indigo */
}

Palettes, gradients and meshes with #400068

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

Palettes (3)

Gradients (1)

Mesh gradients (1)