#1C1949

A color in the Violet family

#1c1949 is a color in the Violet family: RGB(28, 25, 73), HSL(244°, 49%, 19%), CMYK(62%, 66%, 0%, 71%). Closest named color: midnightblue. Contrast is 16.35:1 on white and 1.28:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1c1949
RGBrgb(28 25 73)
RGB (legacy)rgb(28, 25, 73)
RGB %rgb(11% 10% 29%)
HSLhsl(244 49% 19%)
HSV / HSBhsv(244, 66%, 29%)
HWBhwb(244 10% 71%)
CMYKcmyk(62%, 66%, 0%, 71%)
CIELAB (D50)lab(11.68 14.14 -30.13)
LCHlch(11.68 33.29 295.14)
OKLaboklab(0.2495 0.0164 -0.0848)
OKLCHoklch(0.2495 0.0864 280.91)
Decimal1841481

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 7.1
Closest web-safe color#330033
Hue244°
Saturation (HSL / HSV)49% / 66%
Lightness (HSL)19%
Brightness or Value (HSV)29%
Luminance (Rec.601 / Rec.709)12% / 11%
Relative luminance (WCAG)0.0142
Red / Green / Blue28 / 25 / 73

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.35:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.28: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.1 / 0 · As background with white / black text: Lc -105.6 / 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: #1c1949;
  --color-brand-oklch: oklch(24.95% 0.0864 280.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 73 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1949] text-[#1c1949] border-[#1c1949]">