#00031C#00031C

#00031C is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.9% C 0.060 H 263.1°. Best body text is #FFFFFF at 20.39:1 contrast (WCAG AA passes).

Color values

HEX#00031C
RGBrgb(0, 3, 28)
HSLhsl(234, 100%, 5%)
HSVhsv(234, 100%, 11%)
CMYKcmyk(100%, 89.3%, 0%, 89%)
CIE-LABlab(1.34, 4.12, -13.52)
CIE-LCHlch(1.34, 14.13, 286.95°)
OKLaboklab(11.86% -0.0073 -0.0597)
OKLCHoklch(11.86% 0.06 263.1)
XYZxyz(0.2421, 0.1489, 1.1144)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00031C #1C1900
analogous
#00111C #00031C #0B001C
triadic
#00031C #1C0003 #031C00
tetradic
#00031C #1C0011 #1C1900 #001C0B
square
#00031C #1C0011 #1C1900 #001C0B
split-complementary
#00031C #1C0B00 #111C00
monochromatic
#00031F #00031F #00031F #000A59 #001096

Accessibility & contrast

On white

20.39
#00031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #00031C
20.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00031C#FFFFFF#000000##FFFFFF
##00031C1.0020.391.0320.39
#FFFFFF20.391.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #00031c;
/* rgb */ color: rgb(0, 3, 28);
/* oklch */ color: oklch(11.9% 0.060 263.1);
Tailwind
colors: {
  custom: {
    50: '#464857',
    500: '#00031c',
    950: '#000000',
  },
}
SCSS
$custom: #00031c;
$custom-light: #464857;
$custom-dark: #000000;
JSON
{
  "hex": "#00031c",
  "rgb": {
    "r": 0,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 233.571,
    "s": 100,
    "l": 5.49
  },
  "oklch": {
    "l": 0.11855,
    "c": 0.06019,
    "h": 263.1
  },
  "luminance": 0.00149
}

Semantic roles & 50–950 ramp

primary
#00031C
secondary
#665D12
accent
#E829FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000003
muted
#767778

Preview Lab

Preview with #00031C

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

Preview Lab → · Contrast checker → · Palette generator →

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