#010C2D#010C2D

#010C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.0% C 0.070 H 262.0°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#010C2D
RGBrgb(1, 12, 45)
HSLhsl(225, 96%, 9%)
HSVhsv(225, 98%, 18%)
CMYKcmyk(97.8%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.14, 7.43, -22.40)
CIE-LCHlch(4.14, 23.60, 288.35°)
OKLaboklab(16.98% -0.0097 -0.0692)
OKLCHoklch(16.98% 0.07 262)
XYZxyz(0.6175, 0.4588, 2.5381)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C2D #2D2201
analogous
#01222D #010C2D #0C012D
triadic
#010C2D #2D010C #0C2D01
tetradic
#010C2D #2D0122 #2D2201 #012D0C
square
#010C2D #2D0122 #2D2201 #012D0C
split-complementary
#010C2D #2D0C01 #222D01
monochromatic
#01081E #01081E #010C2D #021C69 #042CA5

Accessibility & contrast

On white

19.23
#010C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C2D
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C2D#FFFFFF#000000##FFFFFF
##010C2D1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #010c2d;
/* rgb */ color: rgb(1, 12, 45);
/* oklch */ color: oklch(17.0% 0.070 262.0);
Tailwind
colors: {
  custom: {
    50: '#484c66',
    500: '#010c2d',
    950: '#000000',
  },
}
SCSS
$custom: #010c2d;
$custom-light: #484c66;
$custom-dark: #000000;
JSON
{
  "hex": "#010c2d",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 225,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16984,
    "c": 0.06989,
    "h": 262
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#010C2D
secondary
#735C17
accent
#C929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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