#0B002C#0B002C

#0B002C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.8% C 0.086 H 285.4°. Best body text is #FFFFFF at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#0B002C
RGBrgb(11, 0, 44)
HSLhsl(255, 100%, 9%)
HSVhsv(255, 100%, 17%)
CMYKcmyk(75%, 100%, 0%, 82.7%)
CIE-LABlab(2.29, 14.42, -24.55)
CIE-LCHlch(2.29, 28.47, 300.43°)
OKLaboklab(14.77% 0.0228 -0.083)
OKLCHoklch(14.77% 0.086 285.4)
XYZxyz(0.5925, 0.2530, 2.4000)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B002C #212C00
analogous
#000B2C #0B002C #21002C
triadic
#0B002C #2C0B00 #002C0B
tetradic
#0B002C #2C000B #212C00 #002C21
square
#0B002C #2C000B #212C00 #002C21
split-complementary
#0B002C #2C2100 #0B2C00
monochromatic
#08001F #08001F #0B002C #1A0069 #2A00A6

Accessibility & contrast

On white

19.99
#0B002C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0B002C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B002C
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B002C#FFFFFF#000000##FFFFFF
##0B002C1.0019.991.0519.99
#FFFFFF19.991.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092D
Deuteranopia (green-blind)
#00072B
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0b002c;
/* rgb */ color: rgb(11, 0, 44);
/* oklch */ color: oklch(14.8% 0.086 285.4);
Tailwind
colors: {
  custom: {
    50: '#4c4665',
    500: '#0b002c',
    950: '#000000',
  },
}
SCSS
$custom: #0b002c;
$custom-light: #4c4665;
$custom-dark: #000000;
JSON
{
  "hex": "#0b002c",
  "rgb": {
    "r": 11,
    "g": 0,
    "b": 44
  },
  "hsl": {
    "h": 255,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14769,
    "c": 0.08608,
    "h": 285.4
  },
  "luminance": 0.00253
}

Semantic roles & 50–950 ramp

primary
#0B002C
secondary
#5C7314
accent
#FF29C9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0B002C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0B002C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva