#0C19A1

A color in the Blue, Sky, Navy family

#0c19a1 is a color in the Blue, Sky, Navy family: RGB(12, 25, 161), HSL(235°, 86%, 34%), CMYK(93%, 84%, 0%, 37%). Closest named color: darkblue. Contrast is 12.58:1 on white and 1.67:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0c19a1
RGBrgb(12 25 161)
RGB (legacy)rgb(12, 25, 161)
RGB %rgb(5% 10% 63%)
HSLhsl(235 86% 34%)
HSV / HSBhsv(235, 93%, 63%)
HWBhwb(235 5% 37%)
CMYKcmyk(93%, 84%, 0%, 37%)
CIELAB (D50)lab(19.8 39.71 -73.59)
LCHlch(19.8 83.62 298.35)
OKLaboklab(0.3428 -0.0141 -0.2063)
OKLCHoklch(0.3428 0.2068 266.08)
Decimal792993

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkblue ΔE 5.6
Closest web-safe color#000099
Hue235°
Saturation (HSL / HSV)86% / 93%
Lightness (HSL)34%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)14% / 13%
Relative luminance (WCAG)0.0335
Red / Green / Blue12 / 25 / 161

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.67: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 96.8 / 0 · As background with white / black text: Lc -100.5 / 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: #0c19a1;
  --color-brand-oklch: oklch(34.28% 0.2068 266.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(12 25 161 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0c19a1] text-[#0c19a1] border-[#0c19a1]">