#00031D#00031D

#00031D is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.0% C 0.062 H 263.2°. Best body text is #FFFFFF at 20.37:1 contrast (WCAG AA passes).

Color values

HEX#00031D
RGBrgb(0, 3, 29)
HSLhsl(234, 100%, 6%)
HSVhsv(234, 100%, 11%)
CMYKcmyk(100%, 89.7%, 0%, 88.6%)
CIE-LABlab(1.39, 4.43, -14.26)
CIE-LCHlch(1.39, 14.93, 287.26°)
OKLaboklab(12% -0.0073 -0.0614)
OKLCHoklch(12% 0.062 263.2)
XYZxyz(0.2543, 0.1538, 1.1784)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00031D #1D1A00
analogous
#00111D #00031D #0B001D
triadic
#00031D #1D0003 #031D00
tetradic
#00031D #1D0011 #1D1A00 #001D0B
square
#00031D #1D0011 #1D1A00 #001D0B
split-complementary
#00031D #1D0B00 #111D00
monochromatic
#00031F #00031F #00031F #00095A #001097

Accessibility & contrast

On white

20.37
#00031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#00031D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00031D
20.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00031D#FFFFFF#000000##FFFFFF
##00031D1.0020.371.0320.37
#FFFFFF20.371.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00061E
Deuteranopia (green-blind)
#00041C
Tritanopia (blue-blind)
#00090E
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #00031d;
/* rgb */ color: rgb(0, 3, 29);
/* oklch */ color: oklch(12.0% 0.062 263.2);
Tailwind
colors: {
  custom: {
    50: '#464858',
    500: '#00031d',
    950: '#000000',
  },
}
SCSS
$custom: #00031d;
$custom-light: #464858;
$custom-dark: #000000;
JSON
{
  "hex": "#00031d",
  "rgb": {
    "r": 0,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 233.793,
    "s": 100,
    "l": 5.686
  },
  "oklch": {
    "l": 0.12001,
    "c": 0.06184,
    "h": 263.2
  },
  "luminance": 0.00154
}

Semantic roles & 50–950 ramp

primary
#00031D
secondary
#675E12
accent
#E929FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000003
muted
#767778

Preview Lab

Preview with #00031D

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

Preview Lab → · Contrast checker → · Palette generator →

#00031D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva