#1C1954

A color in the Violet family

#1c1954 is a color in the Violet family: RGB(28, 25, 84), HSL(243°, 54%, 21%), CMYK(67%, 70%, 0%, 67%). Closest named color: midnightblue. Contrast is 15.95:1 on white and 1.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1c1954
RGBrgb(28 25 84)
RGB (legacy)rgb(28, 25, 84)
RGB %rgb(11% 10% 33%)
HSLhsl(243 54% 21%)
HSV / HSBhsv(243, 70%, 33%)
HWBhwb(243 10% 67%)
CMYKcmyk(67%, 70%, 0%, 67%)
CIELAB (D50)lab(12.56 17.6 -36.23)
LCHlch(12.56 40.28 295.91)
OKLaboklab(0.2601 0.0156 -0.1022)
OKLCHoklch(0.2601 0.1034 278.67)
Decimal1841492

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 5.1
Closest web-safe color#330066
Hue243°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)21%
Brightness or Value (HSV)33%
Luminance (Rec.601 / Rec.709)13% / 12%
Relative luminance (WCAG)0.0158
Red / Green / Blue28 / 25 / 84

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.95:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.32: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 102.6 / 0 · As background with white / black text: Lc -105.2 / 0

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: #1c1954;
  --color-brand-oklch: oklch(26.01% 0.1034 278.67);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 84 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1954] text-[#1c1954] border-[#1c1954]">