#0D1F2F#0D1F2F

#0D1F2F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.039 H 247.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#0D1F2F
RGBrgb(13, 31, 47)
HSLhsl(208, 57%, 12%)
HSVhsv(208, 72%, 18%)
CMYKcmyk(72.3%, 34%, 0%, 81.6%)
CIE-LABlab(11.07, -1.27, -12.87)
CIE-LCHlch(11.07, 12.93, 264.38°)
OKLaboklab(23.26% -0.0152 -0.0362)
OKLCHoklch(23.26% 0.039 247.2)
XYZxyz(1.1689, 1.2707, 2.8724)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F2F #2F1D0D
analogous
#0D2F2E #0D1F2F #0D0E2F
triadic
#0D1F2F #2F0D1F #1F2F0D
tetradic
#0D1F2F #2E0D2F #2F1D0D #0E2F0D
square
#0D1F2F #2E0D2F #2F1D0D #0E2F0D
split-complementary
#0D1F2F #2F0D0E #2F2E0D
monochromatic
#071018 #071018 #0D1F2F #1A3F5F #285E8F

Accessibility & contrast

On white

16.74
#0D1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F2F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F2F#FFFFFF#000000##FFFFFF
##0D1F2F1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F30
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1f2f;
/* rgb */ color: rgb(13, 31, 47);
/* oklch */ color: oklch(23.3% 0.039 247.2);
Tailwind
colors: {
  custom: {
    50: '#4f5a67',
    500: '#0d1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f2f;
$custom-light: #4f5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f2f",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 208.235,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.03927,
    "h": 247.2
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#0D1F2F
secondary
#6A4A2E
accent
#8F48E0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #0D1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#0D1F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva