#031C19

A color in the Cyan, Emerald family

#031c19 is a color in the Cyan, Emerald family: RGB(3, 28, 25), HSL(173°, 81%, 6%), CMYK(89%, 0%, 11%, 89%). Closest named color: midnightblue. Contrast is 17.74:1 on white and 1.18:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#031c19
RGBrgb(3 28 25)
RGB (legacy)rgb(3, 28, 25)
RGB %rgb(1% 11% 10%)
HSLhsl(173 81% 6%)
HSV / HSBhsv(173, 89%, 11%)
HWBhwb(173 1% 89%)
CMYKcmyk(89%, 0%, 11%, 89%)
CIELAB (D50)lab(8.23 -10.21 -1.01)
LCHlch(8.23 10.26 185.66)
OKLaboklab(0.2055 -0.0322 -0.0025)
OKLCHoklch(0.2055 0.0323 184.39)
Decimal203801

Properties

Color ToneCyan, Emerald
Closest named colormidnightblue ΔE 16.8
Closest web-safe color#003300
Hue173°
Saturation (HSL / HSV)81% / 89%
Lightness (HSL)6%
Brightness or Value (HSV)11%
Luminance (Rec.601 / Rec.709)8% / 9%
Relative luminance (WCAG)0.0092
Red / Green / Blue3 / 28 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.18: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 104.4 / 0 · As background with white / black text: Lc -106.6 / 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: #031c19;
  --color-brand-oklch: oklch(20.55% 0.0323 184.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(3 28 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#031c19] text-[#031c19] border-[#031c19]">