#00041F#00041F

#00041F is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.062 H 262.7°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#00041F
RGBrgb(0, 4, 31)
HSLhsl(232, 100%, 6%)
HSVhsv(232, 100%, 12%)
CMYKcmyk(100%, 87.1%, 0%, 87.8%)
CIE-LABlab(1.68, 4.68, -15.43)
CIE-LCHlch(1.68, 16.12, 286.87°)
OKLaboklab(12.72% -0.0079 -0.0619)
OKLCHoklch(12.72% 0.062 262.7)
XYZxyz(0.2907, 0.1857, 1.3166)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00041F #1F1B00
analogous
#00131F #00041F #0B001F
triadic
#00041F #1F0004 #041F00
tetradic
#00041F #1F0013 #1F1B00 #001F0B
square
#00041F #1F0013 #1F1B00 #001F0B
split-complementary
#00041F #1F0B00 #131F00
monochromatic
#00041F #00041F #00041F #000C5C #001499

Accessibility & contrast

On white

20.25
#00041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#00041F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00041F
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00041F#FFFFFF#000000##FFFFFF
##00041F1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000820
Deuteranopia (green-blind)
#00051E
Tritanopia (blue-blind)
#000A10
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #00041f;
/* rgb */ color: rgb(0, 4, 31);
/* oklch */ color: oklch(12.7% 0.062 262.7);
Tailwind
colors: {
  custom: {
    50: '#46485a',
    500: '#00041f',
    950: '#000000',
  },
}
SCSS
$custom: #00041f;
$custom-light: #46485a;
$custom-dark: #000000;
JSON
{
  "hex": "#00041f",
  "rgb": {
    "r": 0,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 232.258,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.12718,
    "c": 0.06239,
    "h": 262.7
  },
  "luminance": 0.00186
}

Semantic roles & 50–950 ramp

primary
#00041F
secondary
#685D12
accent
#E329FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000004
muted
#767779

Preview Lab

Preview with #00041F

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

Preview Lab → · Contrast checker → · Palette generator →

#00041F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva