#19082E

A color in the Violet family

#19082e is a color in the Violet family: RGB(25, 8, 46), HSL(267°, 70%, 11%), CMYK(46%, 83%, 0%, 82%). Closest named color: midnightblue. Contrast is 18.83:1 on white and 1.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#19082e
RGBrgb(25 8 46)
RGB (legacy)rgb(25, 8, 46)
RGB %rgb(10% 3% 18%)
HSLhsl(267 70% 11%)
HSV / HSBhsv(267, 83%, 18%)
HWBhwb(267 3% 82%)
CMYKcmyk(46%, 83%, 0%, 82%)
CIELAB (D50)lab(5.02 14.98 -21.52)
LCHlch(5.02 26.22 304.85)
OKLaboklab(0.1878 0.0363 -0.0628)
OKLCHoklch(0.1878 0.0725 300.01)
Decimal1640494

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 13.2
Closest web-safe color#000033
Hue267°
Saturation (HSL / HSV)70% / 83%
Lightness (HSL)11%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)7% / 6%
Relative luminance (WCAG)0.0058
Red / Green / Blue25 / 8 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.12: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 105.1 / 0 · As background with white / black text: Lc -107.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: #19082e;
  --color-brand-oklch: oklch(18.78% 0.0725 300.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(25 8 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#19082e] text-[#19082e] border-[#19082e]">