#0D072E#0D072E

#0D072E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.074 H 282.5°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#0D072E
RGBrgb(13, 7, 46)
HSLhsl(249, 74%, 10%)
HSVhsv(249, 85%, 18%)
CMYKcmyk(71.7%, 84.8%, 0%, 82%)
CIE-LABlab(3.93, 13.18, -23.45)
CIE-LCHlch(3.93, 26.90, 299.33°)
OKLaboklab(17.07% 0.016 -0.0725)
OKLCHoklch(17.07% 0.074 282.5)
XYZxyz(0.7349, 0.4347, 2.6294)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D072E #282E07
analogous
#07142E #0D072E #20072E
triadic
#0D072E #2E0D07 #072E0D
tetradic
#0D072E #2E0714 #282E07 #072E20
square
#0D072E #2E0714 #282E07 #072E20
split-complementary
#0D072E #2E2007 #142E07
monochromatic
#08041B #08041B #0D072E #1C0F63 #2B1798

Accessibility & contrast

On white

19.32
#0D072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D072E
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D072E#FFFFFF#000000##FFFFFF
##0D072E1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d072e;
/* rgb */ color: rgb(13, 7, 46);
/* oklch */ color: oklch(17.1% 0.074 282.5);
Tailwind
colors: {
  custom: {
    50: '#4e4967',
    500: '#0d072e',
    950: '#000000',
  },
}
SCSS
$custom: #0d072e;
$custom-light: #4e4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0d072e",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 249.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17068,
    "c": 0.07426,
    "h": 282.5
  },
  "luminance": 0.00435
}

Semantic roles & 50–950 ramp

primary
#0D072E
secondary
#626E23
accent
#F038D4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D072E

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

Preview Lab → · Contrast checker → · Palette generator →

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