#00042B#00042B

#00042B is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.5% C 0.081 H 263.8°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#00042B
RGBrgb(0, 4, 43)
HSLhsl(234, 100%, 8%)
HSVhsv(234, 100%, 17%)
CMYKcmyk(100%, 90.7%, 0%, 83.1%)
CIE-LABlab(2.36, 9.46, -23.71)
CIE-LCHlch(2.36, 25.53, 291.76°)
OKLaboklab(14.46% -0.0087 -0.0807)
OKLCHoklch(14.46% 0.081 263.8)
XYZxyz(0.4793, 0.2612, 2.3102)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00042B #2B2700
analogous
#00192B #00042B #11002B
triadic
#00042B #2B0004 #042B00
tetradic
#00042B #2B0019 #2B2700 #002B11
square
#00042B #2B0019 #2B2700 #002B11
split-complementary
#00042B #2B1100 #192B00
monochromatic
#00031F #00031F #00042B #000A68 #000FA5

Accessibility & contrast

On white

19.96
#00042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #00042B
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00042B#FFFFFF#000000##FFFFFF
##00042B1.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#00062A
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #00042b;
/* rgb */ color: rgb(0, 4, 43);
/* oklch */ color: oklch(14.5% 0.081 263.8);
Tailwind
colors: {
  custom: {
    50: '#474864',
    500: '#00042b',
    950: '#000000',
  },
}
SCSS
$custom: #00042b;
$custom-light: #474864;
$custom-dark: #000000;
JSON
{
  "hex": "#00042b",
  "rgb": {
    "r": 0,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 234.419,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1446,
    "c": 0.08121,
    "h": 263.8
  },
  "luminance": 0.00261
}

Semantic roles & 50–950 ramp

primary
#00042B
secondary
#736A14
accent
#EB29FF
background
#F4F4F6
surface
#E6E6EB
border
#C2C2C6
text
#000005
muted
#77777A

Preview Lab

Preview with #00042B

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

Preview Lab → · Contrast checker → · Palette generator →

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