#010C2E#010C2E

#010C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.072 H 262.3°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#010C2E
RGBrgb(1, 12, 46)
HSLhsl(225, 96%, 9%)
HSVhsv(225, 98%, 18%)
CMYKcmyk(97.8%, 73.9%, 0%, 82%)
CIE-LABlab(4.21, 7.93, -23.04)
CIE-LCHlch(4.21, 24.36, 288.99°)
OKLaboklab(17.1% -0.0096 -0.0709)
OKLCHoklch(17.1% 0.072 262.3)
XYZxyz(0.6370, 0.4666, 2.6407)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C2E #2E2301
analogous
#01232E #010C2E #0D012E
triadic
#010C2E #2E010C #0C2E01
tetradic
#010C2E #2E0123 #2E2301 #012E0D
square
#010C2E #2E0123 #2E2301 #012E0D
split-complementary
#010C2E #2E0D01 #232E01
monochromatic
#01081E #01081E #010C2E #021C6A #042BA6

Accessibility & contrast

On white

19.21
#010C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C2E
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C2E#FFFFFF#000000##FFFFFF
##010C2E1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #010c2e;
/* rgb */ color: rgb(1, 12, 46);
/* oklch */ color: oklch(17.1% 0.072 262.3);
Tailwind
colors: {
  custom: {
    50: '#494c67',
    500: '#010c2e',
    950: '#000000',
  },
}
SCSS
$custom: #010c2e;
$custom-light: #494c67;
$custom-dark: #000000;
JSON
{
  "hex": "#010c2e",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 225.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17098,
    "c": 0.07154,
    "h": 262.3
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#010C2E
secondary
#745D17
accent
#CB29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #010C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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