#000412#000412

#000412 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 11.0% C 0.039 H 257.0°. Best body text is #FFFFFF at 20.46:1 contrast (WCAG AA passes).

Color values

HEX#000412
RGBrgb(0, 4, 18)
HSLhsl(227, 100%, 4%)
HSVhsv(227, 100%, 7%)
CMYKcmyk(100%, 77.8%, 0%, 92.9%)
CIE-LABlab(1.18, 1.17, -6.40)
CIE-LCHlch(1.18, 6.50, 280.37°)
OKLaboklab(11.05% -0.0088 -0.0383)
OKLCHoklch(11.05% 0.039 257)
XYZxyz(0.1526, 0.1305, 0.5893)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000412 #120E00
analogous
#000D12 #000412 #050012
triadic
#000412 #120004 #041200
tetradic
#000412 #12000D #120E00 #001205
square
#000412 #12000D #120E00 #001205
split-complementary
#000412 #120500 #0D1200
monochromatic
#00071F #00071F #00071F #00124F #001F8C

Accessibility & contrast

On white

20.46
#000412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#000412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #000412
20.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000412#FFFFFF#000000##FFFFFF
##0004121.0020.461.0320.46
#FFFFFF20.461.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000513
Deuteranopia (green-blind)
#000412
Tritanopia (blue-blind)
#000709
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #000412;
/* rgb */ color: rgb(0, 4, 18);
/* oklch */ color: oklch(11.0% 0.039 257.0);
Tailwind
colors: {
  custom: {
    50: '#46484f',
    500: '#000412',
    950: '#000000',
  },
}
SCSS
$custom: #000412;
$custom-light: #46484f;
$custom-dark: #000000;
JSON
{
  "hex": "#000412",
  "rgb": {
    "r": 0,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 226.667,
    "s": 100,
    "l": 3.529
  },
  "oklch": {
    "l": 0.11048,
    "c": 0.0393,
    "h": 257
  },
  "luminance": 0.00131
}

Semantic roles & 50–950 ramp

primary
#000412
secondary
#5D4C10
accent
#CF29FF
background
#F3F4F4
surface
#E5E6E7
border
#C1C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #000412

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

Preview Lab → · Contrast checker → · Palette generator →

#000412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva