#1C1934

A color in the Violet family

#1c1934 is a color in the Violet family: RGB(28, 25, 52), HSL(247°, 35%, 15%), CMYK(46%, 52%, 0%, 80%). Closest named color: midnightblue. Contrast is 16.96:1 on white and 1.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1c1934
RGBrgb(28 25 52)
RGB (legacy)rgb(28, 25, 52)
RGB %rgb(11% 10% 20%)
HSLhsl(247 35% 15%)
HSV / HSBhsv(247, 52%, 20%)
HWBhwb(247 10% 80%)
CMYKcmyk(46%, 52%, 0%, 80%)
CIELAB (D50)lab(10.28 7.86 -17.55)
LCHlch(10.28 19.23 294.14)
OKLaboklab(0.2322 0.0148 -0.0489)
OKLCHoklch(0.2322 0.051 286.8)
Decimal1841460

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 11
Closest web-safe color#330033
Hue247°
Saturation (HSL / HSV)35% / 52%
Lightness (HSL)15%
Brightness or Value (HSV)20%
Luminance (Rec.601 / Rec.709)11% / 11%
Relative luminance (WCAG)0.0119
Red / Green / Blue28 / 25 / 52

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.96:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.24: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.8 / 0 · As background with white / black text: Lc -106.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: #1c1934;
  --color-brand-oklch: oklch(23.22% 0.051 286.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 52 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1934] text-[#1c1934] border-[#1c1934]">