#1C1944
A color in the Violet family
#1c1944 is a color in the Violet family: RGB(28, 25, 68), HSL(244°, 46%, 18%), CMYK(59%, 63%, 0%, 73%). Closest named color: midnightblue. Contrast is 16.51:1 on white and 1.27:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #1c1944 |
|---|---|
| RGB | rgb(28 25 68) |
| RGB (legacy) | rgb(28, 25, 68) |
| RGB % | rgb(11% 10% 27%) |
| HSL | hsl(244 46% 18%) |
| HSV / HSB | hsv(244, 63%, 27%) |
| HWB | hwb(244 10% 73%) |
| CMYK | cmyk(59%, 63%, 0%, 73%) |
| CIELAB (D50) | lab(11.32 12.59 -27.25) |
| LCH | lch(11.32 30.02 294.8) |
| OKLab | oklab(0.245 0.0164 -0.0766) |
| OKLCH | oklch(0.245 0.0784 282.08) |
| Decimal | 1841476 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | midnightblue ΔE 8 |
| Closest web-safe color | #330033 |
| Hue | 244° |
| Saturation (HSL / HSV) | 46% / 63% |
| Lightness (HSL) | 18% |
| Brightness or Value (HSV) | 27% |
| Luminance (Rec.601 / Rec.709) | 12% / 11% |
| Relative luminance (WCAG) | 0.0136 |
| Red / Green / Blue | 28 / 25 / 68 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
16.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.27: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 103.3 / 0 · As background with white / black text: Lc -105.8 / 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
Complementary
Split Complementary
Analogous
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: #1c1944;
--color-brand-oklch: oklch(24.5% 0.0784 282.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 68 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1944] text-[#1c1944] border-[#1c1944]">