#000C27#000C27

#000C27 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.061 H 258.2°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#000C27
RGBrgb(0, 12, 39)
HSLhsl(222, 100%, 8%)
HSVhsv(222, 100%, 15%)
CMYKcmyk(100%, 69.2%, 0%, 84.7%)
CIE-LABlab(3.70, 4.44, -18.56)
CIE-LCHlch(3.70, 19.08, 283.45°)
OKLaboklab(16.22% -0.0124 -0.0594)
OKLCHoklch(16.22% 0.061 258.2)
XYZxyz(0.4975, 0.4094, 1.9719)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C27 #271B00
analogous
#002027 #000C27 #070027
triadic
#000C27 #27000C #0C2700
tetradic
#000C27 #270020 #271B00 #002707
square
#000C27 #270020 #271B00 #002707
split-complementary
#000C27 #270700 #202700
monochromatic
#00091F #00091F #000C27 #001F64 #0032A1

Accessibility & contrast

On white

19.41
#000C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#000C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #000C27
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C27#FFFFFF#000000##FFFFFF
##000C271.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F28
Deuteranopia (green-blind)
#000B26
Tritanopia (blue-blind)
#001317
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #000c27;
/* rgb */ color: rgb(0, 12, 39);
/* oklch */ color: oklch(16.2% 0.061 258.2);
Tailwind
colors: {
  custom: {
    50: '#474c61',
    500: '#000c27',
    950: '#000000',
  },
}
SCSS
$custom: #000c27;
$custom-light: #474c61;
$custom-dark: #000000;
JSON
{
  "hex": "#000c27",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 221.538,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16219,
    "c": 0.06064,
    "h": 258.2
  },
  "luminance": 0.00409
}

Semantic roles & 50–950 ramp

primary
#000C27
secondary
#6F5314
accent
#BD29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #000C27

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

Preview Lab → · Contrast checker → · Palette generator →

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