#000C2C#000C2C

#000C2C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.069 H 260.2°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#000C2C
RGBrgb(0, 12, 44)
HSLhsl(224, 100%, 9%)
HSVhsv(224, 100%, 17%)
CMYKcmyk(100%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.02, 6.69, -21.85)
CIE-LCHlch(4.02, 22.85, 287.01°)
OKLaboklab(16.77% -0.0118 -0.068)
OKLCHoklch(16.77% 0.069 260.2)
XYZxyz(0.5859, 0.4447, 2.4373)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C2C #2C2000
analogous
#00222C #000C2C #0A002C
triadic
#000C2C #2C000C #0C2C00
tetradic
#000C2C #2C0022 #2C2000 #002C0A
square
#000C2C #2C0022 #2C2000 #002C0A
split-complementary
#000C2C #2C0A00 #222C00
monochromatic
#00081F #00081F #000C2C #001D69 #002DA6

Accessibility & contrast

On white

19.28
#000C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000C2C
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C2C#FFFFFF#000000##FFFFFF
##000C2C1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #000c2c;
/* rgb */ color: rgb(0, 12, 44);
/* oklch */ color: oklch(16.8% 0.069 260.2);
Tailwind
colors: {
  custom: {
    50: '#474c65',
    500: '#000c2c',
    950: '#000000',
  },
}
SCSS
$custom: #000c2c;
$custom-light: #474c65;
$custom-dark: #000000;
JSON
{
  "hex": "#000c2c",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 223.636,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16774,
    "c": 0.06903,
    "h": 260.2
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#000C2C
secondary
#735A14
accent
#C529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #000C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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