#2C19B8

A color in the Violet family

#2c19b8 is a color in the Violet family: RGB(44, 25, 184), HSL(247°, 76%, 41%), CMYK(76%, 86%, 0%, 28%). Closest named color: mediumblue. Contrast is 10.83:1 on white and 1.94:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2c19b8
RGBrgb(44 25 184)
RGB (legacy)rgb(44, 25, 184)
RGB %rgb(17% 10% 72%)
HSLhsl(247 76% 41%)
HSV / HSBhsv(247, 86%, 72%)
HWBhwb(247 10% 28%)
CMYKcmyk(76%, 86%, 0%, 28%)
CIELAB (D50)lab(24.2 47.75 -80.03)
LCHlch(24.2 93.19 300.82)
OKLaboklab(0.3859 0.0133 -0.2244)
OKLCHoklch(0.3859 0.2248 273.39)
Decimal2890168

Properties

Color ToneViolet
Closest named colormediumblue ΔE 5.7
Closest web-safe color#3300cc
Hue247°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)41%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)19% / 16%
Relative luminance (WCAG)0.0469
Red / Green / Blue44 / 25 / 184

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.94: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 93.4 / -9.1 · As background with white / black text: Lc -97.5 / 10.5

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: #2c19b8;
  --color-brand-oklch: oklch(38.59% 0.2248 273.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(44 25 184 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2c19b8] text-[#2c19b8] border-[#2c19b8]">