#010C2F#010C2F

#010C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.073 H 262.5°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#010C2F
RGBrgb(1, 12, 47)
HSLhsl(226, 96%, 9%)
HSVhsv(226, 98%, 18%)
CMYKcmyk(97.9%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.29, 8.43, -23.67)
CIE-LCHlch(4.29, 25.13, 289.61°)
OKLaboklab(17.21% -0.0096 -0.0725)
OKLCHoklch(17.21% 0.073 262.5)
XYZxyz(0.6569, 0.4745, 2.7457)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C2F #2F2401
analogous
#01232F #010C2F #0D012F
triadic
#010C2F #2F010C #0C2F01
tetradic
#010C2F #2F0123 #2F2401 #012F0D
square
#010C2F #2F0123 #2F2401 #012F0D
split-complementary
#010C2F #2F0D01 #232F01
monochromatic
#01081E #01081E #010C2F #021B6B #042BA7

Accessibility & contrast

On white

19.18
#010C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#010C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010C2F
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C2F#FFFFFF#000000##FFFFFF
##010C2F1.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #010c2f;
/* rgb */ color: rgb(1, 12, 47);
/* oklch */ color: oklch(17.2% 0.073 262.5);
Tailwind
colors: {
  custom: {
    50: '#494c68',
    500: '#010c2f',
    950: '#000000',
  },
}
SCSS
$custom: #010c2f;
$custom-light: #494c68;
$custom-dark: #000000;
JSON
{
  "hex": "#010c2f",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 225.652,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17214,
    "c": 0.07318,
    "h": 262.5
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#010C2F
secondary
#755E17
accent
#CC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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