#00042C#00042C

#00042C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.6% C 0.083 H 263.9°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#00042C
RGBrgb(0, 4, 44)
HSLhsl(235, 100%, 9%)
HSVhsv(235, 100%, 17%)
CMYKcmyk(100%, 90.9%, 0%, 82.7%)
CIE-LABlab(2.43, 9.94, -24.37)
CIE-LCHlch(2.43, 26.32, 292.19°)
OKLaboklab(14.61% -0.0088 -0.0822)
OKLCHoklch(14.61% 0.083 263.9)
XYZxyz(0.4979, 0.2686, 2.4080)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00042C #2C2800
analogous
#001A2C #00042C #12002C
triadic
#00042C #2C0004 #042C00
tetradic
#00042C #2C001A #2C2800 #002C12
square
#00042C #2C001A #2C2800 #002C12
split-complementary
#00042C #2C1200 #1A2C00
monochromatic
#00031F #00031F #00042C #000A69 #000FA6

Accessibility & contrast

On white

19.93
#00042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#00042C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00042C
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00042C#FFFFFF#000000##FFFFFF
##00042C1.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#00072B
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #00042c;
/* rgb */ color: rgb(0, 4, 44);
/* oklch */ color: oklch(14.6% 0.083 263.9);
Tailwind
colors: {
  custom: {
    50: '#474865',
    500: '#00042c',
    950: '#000000',
  },
}
SCSS
$custom: #00042c;
$custom-light: #474865;
$custom-dark: #000000;
JSON
{
  "hex": "#00042c",
  "rgb": {
    "r": 0,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 234.545,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1461,
    "c": 0.08269,
    "h": 263.9
  },
  "luminance": 0.00269
}

Semantic roles & 50–950 ramp

primary
#00042C
secondary
#736B14
accent
#EC29FF
background
#F4F4F6
surface
#E6E6EB
border
#C2C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #00042C

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

Preview Lab → · Contrast checker → · Palette generator →

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