#0D072F#0D072F

#0D072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.076 H 282.0°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#0D072F
RGBrgb(13, 7, 47)
HSLhsl(249, 74%, 11%)
HSVhsv(249, 85%, 18%)
CMYKcmyk(72.3%, 85.1%, 0%, 81.6%)
CIE-LABlab(4.00, 13.69, -24.09)
CIE-LCHlch(4.00, 27.70, 299.61°)
OKLaboklab(17.18% 0.0158 -0.0741)
OKLCHoklch(17.18% 0.076 282)
XYZxyz(0.7549, 0.4427, 2.7344)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D072F #292F07
analogous
#07152F #0D072F #21072F
triadic
#0D072F #2F0D07 #072F0D
tetradic
#0D072F #2F0715 #292F07 #072F21
square
#0D072F #2F0715 #292F07 #072F21
split-complementary
#0D072F #2F2107 #152F07
monochromatic
#07041B #07041B #0D072F #1C0F64 #2A179A

Accessibility & contrast

On white

19.29
#0D072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D072F
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D072F#FFFFFF#000000##FFFFFF
##0D072F1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d072f;
/* rgb */ color: rgb(13, 7, 47);
/* oklch */ color: oklch(17.2% 0.076 282.0);
Tailwind
colors: {
  custom: {
    50: '#4f4968',
    500: '#0d072f',
    950: '#000000',
  },
}
SCSS
$custom: #0d072f;
$custom-light: #4f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0d072f",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 249,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17185,
    "c": 0.07581,
    "h": 282
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#0D072F
secondary
#636F23
accent
#F137D5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D072F

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

Preview Lab → · Contrast checker → · Palette generator →

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