#000C2A#000C2A

#000C2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.066 H 259.5°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#000C2A
RGBrgb(0, 12, 42)
HSLhsl(223, 100%, 8%)
HSVhsv(223, 100%, 16%)
CMYKcmyk(100%, 71.4%, 0%, 83.5%)
CIE-LABlab(3.88, 5.76, -20.55)
CIE-LCHlch(3.88, 21.34, 285.64°)
OKLaboklab(16.55% -0.012 -0.0646)
OKLCHoklch(16.55% 0.066 259.5)
XYZxyz(0.5492, 0.4300, 2.2441)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C2A #2A1E00
analogous
#00212A #000C2A #09002A
triadic
#000C2A #2A000C #0C2A00
tetradic
#000C2A #2A0021 #2A1E00 #002A09
square
#000C2A #2A0021 #2A1E00 #002A09
split-complementary
#000C2A #2A0900 #212A00
monochromatic
#00091F #00091F #000C2A #001D67 #002FA4

Accessibility & contrast

On white

19.34
#000C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000C2A
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C2A#FFFFFF#000000##FFFFFF
##000C2A1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #000c2a;
/* rgb */ color: rgb(0, 12, 42);
/* oklch */ color: oklch(16.5% 0.066 259.5);
Tailwind
colors: {
  custom: {
    50: '#474c63',
    500: '#000c2a',
    950: '#000000',
  },
}
SCSS
$custom: #000c2a;
$custom-light: #474c63;
$custom-dark: #000000;
JSON
{
  "hex": "#000c2a",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 222.857,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.16548,
    "c": 0.0657,
    "h": 259.5
  },
  "luminance": 0.0043
}

Semantic roles & 50–950 ramp

primary
#000C2A
secondary
#725714
accent
#C229FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#000105
muted
#777779

Preview Lab

Preview with #000C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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