#0B0921

A color in the Violet family

#0b0921 is a color in the Violet family: RGB(11, 9, 33), HSL(245°, 57%, 8%), CMYK(67%, 73%, 0%, 87%). Closest named color: midnightblue. Contrast is 19.53:1 on white and 1.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0b0921
RGBrgb(11 9 33)
RGB (legacy)rgb(11, 9, 33)
RGB %rgb(4% 4% 13%)
HSLhsl(245 57% 8%)
HSV / HSBhsv(245, 73%, 13%)
HWBhwb(245 4% 87%)
CMYKcmyk(67%, 73%, 0%, 87%)
CIELAB (D50)lab(3.27 4.81 -14.44)
LCHlch(3.27 15.22 288.44)
OKLaboklab(0.1595 0.0111 -0.0476)
OKLCHoklch(0.1595 0.0489 283.17)
Decimal723233

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 16
Closest web-safe color#000033
Hue245°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)8%
Brightness or Value (HSV)13%
Luminance (Rec.601 / Rec.709)5% / 4%
Relative luminance (WCAG)0.0038
Red / Green / Blue11 / 9 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
19.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.08: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 105.6 / 0 · As background with white / black text: Lc -107.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: #0b0921;
  --color-brand-oklch: oklch(15.95% 0.0489 283.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(11 9 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0b0921] text-[#0b0921] border-[#0b0921]">