#0B002B#0B002B

#0B002B is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.6% C 0.085 H 286.0°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#0B002B
RGBrgb(11, 0, 43)
HSLhsl(255, 100%, 8%)
HSVhsv(255, 100%, 17%)
CMYKcmyk(74.4%, 100%, 0%, 83.1%)
CIE-LABlab(2.22, 13.95, -23.89)
CIE-LCHlch(2.22, 27.67, 300.28°)
OKLaboklab(14.62% 0.0234 -0.0815)
OKLCHoklch(14.62% 0.085 286)
XYZxyz(0.5739, 0.2455, 2.3022)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B002B #202B00
analogous
#000A2B #0B002B #20002B
triadic
#0B002B #2B0B00 #002B0B
tetradic
#0B002B #2B000A #202B00 #002B20
square
#0B002B #2B000A #202B00 #002B20
split-complementary
#0B002B #2B2000 #0A2B00
monochromatic
#08001F #08001F #0B002B #1B0068 #2A00A5

Accessibility & contrast

On white

20.02
#0B002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B002B
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B002B#FFFFFF#000000##FFFFFF
##0B002B1.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b002b;
/* rgb */ color: rgb(11, 0, 43);
/* oklch */ color: oklch(14.6% 0.085 286.0);
Tailwind
colors: {
  custom: {
    50: '#4c4664',
    500: '#0b002b',
    950: '#000000',
  },
}
SCSS
$custom: #0b002b;
$custom-light: #4c4664;
$custom-dark: #000000;
JSON
{
  "hex": "#0b002b",
  "rgb": {
    "r": 11,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 255.349,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1462,
    "c": 0.08484,
    "h": 286
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

primary
#0B002B
secondary
#5A7314
accent
#FF29C8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0B002B

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

Preview Lab → · Contrast checker → · Palette generator →

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