#19084E

A color in the Violet family

#19084e is a color in the Violet family: RGB(25, 8, 78), HSL(255°, 81%, 17%), CMYK(68%, 90%, 0%, 69%). Closest named color: midnightblue. Contrast is 17.71:1 on white and 1.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#19084e
RGBrgb(25 8 78)
RGB (legacy)rgb(25, 8, 78)
RGB %rgb(10% 3% 31%)
HSLhsl(255 81% 17%)
HSV / HSBhsv(255, 90%, 31%)
HWBhwb(255 3% 69%)
CMYKcmyk(68%, 90%, 0%, 69%)
CIELAB (D50)lab(7.7 25.58 -40.12)
LCHlch(7.7 47.58 302.52)
OKLaboklab(0.2238 0.026 -0.1129)
OKLCHoklch(0.2238 0.1158 282.97)
Decimal1640526

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 7.4
Closest web-safe color#000066
Hue255°
Saturation (HSL / HSV)81% / 90%
Lightness (HSL)17%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)8% / 7%
Relative luminance (WCAG)0.0093
Red / Green / Blue25 / 8 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.19: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.9 / 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: #19084e;
  --color-brand-oklch: oklch(22.38% 0.1158 282.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(25 8 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#19084e] text-[#19084e] border-[#19084e]">