Skip to main content

#2A274E Ink

#2A274E is Ink.

#2A274E

Ink

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

HEX
#2A274E
RGB
rgb(42, 39, 78)
HSL
hsl(245, 33%, 23%)
OKLCH
oklch(29.7% 0.069 285)
CMYK
46, 50, 0, 69

#2A274E has a contrast ratio of 14.01:1 against white and 1.50: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 → #2A274E
#2A274E
Same color
White
14.0AAA
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 #2A274E · 14.0:1

Tints and shades of #2A274E

Same hue and chroma in OKLCH, lighter to darker.

  1. #F4F4FF
  2. #D0D0FF
  3. #B1B1E2
  4. #9493C2
  5. #7776A4
  6. #5C5A86
  7. #424069
  8. #2A274E
  9. #140F33

Colors that go with #2A274E

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. Ink, #2A274E and Gunmetal, #1F3B3D; Twilight Purple, #533569 and Gunmetal, #1F3B3D become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --ink-1: #2A274E; /* Ink */
}

Palettes, gradients and meshes with #2A274E

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).