#00012C#00012C

#00012C is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.6% C 0.089 H 264.2°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#00012C
RGBrgb(0, 1, 44)
HSLhsl(239, 100%, 9%)
HSVhsv(239, 100%, 17%)
CMYKcmyk(100%, 97.7%, 0%, 82.7%)
CIE-LABlab(1.84, 11.14, -25.30)
CIE-LCHlch(1.84, 27.64, 293.76°)
OKLaboklab(13.62% -0.009 -0.0889)
OKLCHoklch(13.62% 0.089 264.2)
XYZxyz(0.4653, 0.2035, 2.3971)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00012C #2C2B00
analogous
#00172C #00012C #15002C
triadic
#00012C #2C0001 #012C00
tetradic
#00012C #2C0017 #2C2B00 #002C15
square
#00012C #2C0017 #2C2B00 #002C15
split-complementary
#00012C #2C1500 #172C00
monochromatic
#00011F #00011F #00012C #000269 #0004A6

Accessibility & contrast

On white

20.18
#00012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#00012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00012C
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00012C#FFFFFF#000000##FFFFFF
##00012C1.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092D
Deuteranopia (green-blind)
#00052B
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #00012c;
/* rgb */ color: rgb(0, 1, 44);
/* oklch */ color: oklch(13.6% 0.089 264.2);
Tailwind
colors: {
  custom: {
    50: '#474765',
    500: '#00012c',
    950: '#000000',
  },
}
SCSS
$custom: #00012c;
$custom-light: #474765;
$custom-dark: #000000;
JSON
{
  "hex": "#00012c",
  "rgb": {
    "r": 0,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 238.636,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.13617,
    "c": 0.08932,
    "h": 264.2
  },
  "luminance": 0.00204
}

Semantic roles & 50–950 ramp

primary
#00012C
secondary
#737114
accent
#FA29FF
background
#F4F3F6
surface
#E6E5EB
border
#C2C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #00012C

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

Preview Lab → · Contrast checker → · Palette generator →

#00012C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva