#01031D#01031D

#01031D is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.2% C 0.060 H 267.0°. Best body text is #FFFFFF at 20.35:1 contrast (WCAG AA passes).

Color values

HEX#01031D
RGBrgb(1, 3, 29)
HSLhsl(236, 93%, 6%)
HSVhsv(236, 97%, 11%)
CMYKcmyk(96.6%, 89.7%, 0%, 88.6%)
CIE-LABlab(1.45, 4.69, -14.16)
CIE-LCHlch(1.45, 14.92, 288.31°)
OKLaboklab(12.19% -0.0031 -0.0604)
OKLCHoklch(12.19% 0.061 267)
XYZxyz(0.2668, 0.1603, 1.1790)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01031D #1D1B01
analogous
#01111D #01031D #0D011D
triadic
#01031D #1D0103 #031D01
tetradic
#01031D #1D0111 #1D1B01 #011D0D
square
#01031D #1D0111 #1D1B01 #011D0D
split-complementary
#01031D #1D0D01 #111D01
monochromatic
#01031E #01031E #01031E #030958 #050F93

Accessibility & contrast

On white

20.35
#01031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01031D
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01031D#FFFFFF#000000##FFFFFF
##01031D1.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.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: #01031d;
/* rgb */ color: rgb(1, 3, 29);
/* oklch */ color: oklch(12.2% 0.060 267.0);
Tailwind
colors: {
  custom: {
    50: '#464858',
    500: '#01031d',
    950: '#000000',
  },
}
SCSS
$custom: #01031d;
$custom-light: #464858;
$custom-dark: #000000;
JSON
{
  "hex": "#01031d",
  "rgb": {
    "r": 1,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 235.714,
    "s": 93.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.12188,
    "c": 0.0605,
    "h": 267
  },
  "luminance": 0.0016
}

Semantic roles & 50–950 ramp

primary
#01031D
secondary
#655F15
accent
#F029FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000003
muted
#767778

Preview Lab

Preview with #01031D

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

Preview Lab → · Contrast checker → · Palette generator →

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