#1C19CC

A color in the Violet family

#1c19cc is a color in the Violet family: RGB(28, 25, 204), HSL(241°, 78%, 45%), CMYK(86%, 88%, 0%, 20%). Closest named color: mediumblue. Contrast is 10.19:1 on white and 2.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1c19cc
RGBrgb(28 25 204)
RGB (legacy)rgb(28, 25, 204)
RGB %rgb(11% 10% 80%)
HSLhsl(241 78% 45%)
HSV / HSBhsv(241, 88%, 80%)
HWBhwb(241 10% 20%)
CMYKcmyk(86%, 88%, 0%, 20%)
CIELAB (D50)lab(25.61 51.74 -89.49)
LCHlch(25.61 103.37 300.03)
OKLaboklab(0.4027 -0.0093 -0.2504)
OKLCHoklch(0.4027 0.2506 267.87)
Decimal1841612

Properties

Color ToneViolet
Closest named colormediumblue ΔE 3
Closest web-safe color#3300cc
Hue241°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)45%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)18% / 15%
Relative luminance (WCAG)0.053
Red / Green / Blue28 / 25 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.19:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.06: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 91.6 / -10.8 · As background with white / black text: Lc -95.9 / 12.4

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: #1c19cc;
  --color-brand-oklch: oklch(40.27% 0.2506 267.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c19cc] text-[#1c19cc] border-[#1c19cc]">