#2A2C8A

A color in the Blue, Sky, Navy family

#2a2c8a is a color in the Blue, Sky, Navy family: RGB(42, 44, 138), HSL(239°, 53%, 35%), CMYK(70%, 68%, 0%, 46%). Closest named color: darkslateblue. Contrast is 11.5:1 on white and 1.83:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2a2c8a
RGBrgb(42 44 138)
RGB (legacy)rgb(42, 44, 138)
RGB %rgb(16% 17% 54%)
HSLhsl(239 53% 35%)
HSV / HSBhsv(239, 70%, 54%)
HWBhwb(239 16% 46%)
CMYKcmyk(70%, 68%, 0%, 46%)
CIELAB (D50)lab(23.21 24.81 -53.74)
LCHlch(23.21 59.19 294.78)
OKLaboklab(0.3584 0.0124 -0.1516)
OKLCHoklch(0.3584 0.1521 274.66)
Decimal2763914

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 6.8
Closest web-safe color#333399
Hue239°
Saturation (HSL / HSV)53% / 70%
Lightness (HSL)35%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)21% / 20%
Relative luminance (WCAG)0.0413
Red / Green / Blue42 / 44 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 95.9 / 0 · As background with white / black text: Lc -99.7 / 8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2a2c8a;
  --color-brand-oklch: oklch(35.84% 0.1521 274.66);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 44 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a2c8a] text-[#2a2c8a] border-[#2a2c8a]">