#000C2B#000C2B

#000C2B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.067 H 259.8°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#000C2B
RGBrgb(0, 12, 43)
HSLhsl(223, 100%, 8%)
HSVhsv(223, 100%, 17%)
CMYKcmyk(100%, 72.1%, 0%, 83.1%)
CIE-LABlab(3.95, 6.22, -21.20)
CIE-LCHlch(3.95, 22.10, 286.34°)
OKLaboklab(16.66% -0.0119 -0.0663)
OKLCHoklch(16.66% 0.067 259.8)
XYZxyz(0.5674, 0.4373, 2.3395)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C2B #2B1F00
analogous
#00212B #000C2B #09002B
triadic
#000C2B #2B000C #0C2B00
tetradic
#000C2B #2B0021 #2B1F00 #002B09
square
#000C2B #2B0021 #2B1F00 #002B09
split-complementary
#000C2B #2B0900 #212B00
monochromatic
#00091F #00091F #000C2B #001D68 #002EA5

Accessibility & contrast

On white

19.31
#000C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#000C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #000C2B
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C2B#FFFFFF#000000##FFFFFF
##000C2B1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #000c2b;
/* rgb */ color: rgb(0, 12, 43);
/* oklch */ color: oklch(16.7% 0.067 259.8);
Tailwind
colors: {
  custom: {
    50: '#474c64',
    500: '#000c2b',
    950: '#000000',
  },
}
SCSS
$custom: #000c2b;
$custom-light: #474c64;
$custom-dark: #000000;
JSON
{
  "hex": "#000c2b",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 223.256,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16661,
    "c": 0.06737,
    "h": 259.8
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#000C2B
secondary
#735814
accent
#C329FF
background
#F4F4F6
surface
#E6E7EB
border
#C2C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #000C2B

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

Preview Lab → · Contrast checker → · Palette generator →

#000C2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva