#010C2A#010C2A

#010C2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.065 H 261.2°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#010C2A
RGBrgb(1, 12, 42)
HSLhsl(224, 95%, 8%)
HSVhsv(224, 98%, 16%)
CMYKcmyk(97.6%, 71.4%, 0%, 83.5%)
CIE-LABlab(3.94, 6.02, -20.46)
CIE-LCHlch(3.94, 21.32, 286.39°)
OKLaboklab(16.65% -0.0099 -0.0641)
OKLCHoklch(16.65% 0.065 261.2)
XYZxyz(0.5618, 0.4365, 2.2447)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C2A #2A1F01
analogous
#01202A #010C2A #0A012A
triadic
#010C2A #2A010C #0C2A01
tetradic
#010C2A #2A0120 #2A1F01 #012A0A
square
#010C2A #2A0120 #2A1F01 #012A0A
split-complementary
#010C2A #2A0A01 #202A01
monochromatic
#01091E #01091E #010C2A #021D66 #042EA2

Accessibility & contrast

On white

19.31
#010C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C2A
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C2A#FFFFFF#000000##FFFFFF
##010C2A1.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)
#00102B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #010c2a;
/* rgb */ color: rgb(1, 12, 42);
/* oklch */ color: oklch(16.6% 0.065 261.2);
Tailwind
colors: {
  custom: {
    50: '#484c63',
    500: '#010c2a',
    950: '#000000',
  },
}
SCSS
$custom: #010c2a;
$custom-light: #484c63;
$custom-dark: #000000;
JSON
{
  "hex": "#010c2a",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 223.902,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16647,
    "c": 0.06485,
    "h": 261.2
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#010C2A
secondary
#705816
accent
#C629FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #010C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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