#010C2C#010C2C

#010C2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 16.9% C 0.068 H 261.8°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#010C2C
RGBrgb(1, 12, 44)
HSLhsl(225, 96%, 9%)
HSVhsv(225, 98%, 17%)
CMYKcmyk(97.7%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.08, 6.95, -21.76)
CIE-LCHlch(4.08, 22.84, 287.70°)
OKLaboklab(16.87% -0.0098 -0.0675)
OKLCHoklch(16.87% 0.068 261.8)
XYZxyz(0.5984, 0.4512, 2.4379)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C2C #2C2101
analogous
#01222C #010C2C #0C012C
triadic
#010C2C #2C010C #0C2C01
tetradic
#010C2C #2C0122 #2C2101 #012C0C
square
#010C2C #2C0122 #2C2101 #012C0C
split-complementary
#010C2C #2C0C01 #222C01
monochromatic
#01081E #01081E #010C2C #021C68 #042DA4

Accessibility & contrast

On white

19.26
#010C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C2C
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C2C#FFFFFF#000000##FFFFFF
##010C2C1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #010c2c;
/* rgb */ color: rgb(1, 12, 44);
/* oklch */ color: oklch(16.9% 0.068 261.8);
Tailwind
colors: {
  custom: {
    50: '#484c65',
    500: '#010c2c',
    950: '#000000',
  },
}
SCSS
$custom: #010c2c;
$custom-light: #484c65;
$custom-dark: #000000;
JSON
{
  "hex": "#010c2c",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 224.651,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1687,
    "c": 0.06822,
    "h": 261.8
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#010C2C
secondary
#725B17
accent
#C829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #010C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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