#00031B#00031B

#00031B is a very dark, muted blue. Relative luminance 0.001; OKLCH L 11.7% C 0.059 H 262.9°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#00031B
RGBrgb(0, 3, 27)
HSLhsl(233, 100%, 5%)
HSVhsv(233, 100%, 11%)
CMYKcmyk(100%, 88.9%, 0%, 89.4%)
CIE-LABlab(1.30, 3.82, -12.77)
CIE-LCHlch(1.30, 13.33, 286.65°)
OKLaboklab(11.71% -0.0072 -0.0581)
OKLCHoklch(11.71% 0.059 262.9)
XYZxyz(0.2303, 0.1442, 1.0524)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00031B #1B1800
analogous
#00101B #00031B #0A001B
triadic
#00031B #1B0003 #031B00
tetradic
#00031B #1B0010 #1B1800 #001B0A
square
#00031B #1B0010 #1B1800 #001B0A
split-complementary
#00031B #1B0A00 #101B00
monochromatic
#00031F #00031F #00031F #000A58 #001195

Accessibility & contrast

On white

20.41
#00031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #00031B
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00031B#FFFFFF#000000##FFFFFF
##00031B1.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #00031b;
/* rgb */ color: rgb(0, 3, 27);
/* oklch */ color: oklch(11.7% 0.059 262.9);
Tailwind
colors: {
  custom: {
    50: '#464857',
    500: '#00031b',
    950: '#000000',
  },
}
SCSS
$custom: #00031b;
$custom-light: #464857;
$custom-dark: #000000;
JSON
{
  "hex": "#00031b",
  "rgb": {
    "r": 0,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 233.333,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.1171,
    "c": 0.05852,
    "h": 262.9
  },
  "luminance": 0.00144
}

Semantic roles & 50–950 ramp

primary
#00031B
secondary
#655C12
accent
#E729FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000003
muted
#767778

Preview Lab

Preview with #00031B

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

Preview Lab → · Contrast checker → · Palette generator →

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