#0D072C#0D072C

#0D072C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.071 H 283.4°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#0D072C
RGBrgb(13, 7, 44)
HSLhsl(250, 73%, 10%)
HSVhsv(250, 84%, 17%)
CMYKcmyk(70.5%, 84.1%, 0%, 82.7%)
CIE-LABlab(3.79, 12.20, -22.17)
CIE-LCHlch(3.79, 25.30, 298.83°)
OKLaboklab(16.84% 0.0165 -0.0692)
OKLCHoklch(16.84% 0.071 283.4)
XYZxyz(0.6964, 0.4193, 2.4266)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D072C #262C07
analogous
#07132C #0D072C #20072C
triadic
#0D072C #2C0D07 #072C0D
tetradic
#0D072C #2C0713 #262C07 #072C20
square
#0D072C #2C0713 #262C07 #072C20
split-complementary
#0D072C #2C2007 #132C07
monochromatic
#08041A #08041A #0D072C #1D0F61 #2C1896

Accessibility & contrast

On white

19.38
#0D072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0D072C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D072C
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D072C#FFFFFF#000000##FFFFFF
##0D072C1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#011018
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d072c;
/* rgb */ color: rgb(13, 7, 44);
/* oklch */ color: oklch(16.8% 0.071 283.4);
Tailwind
colors: {
  custom: {
    50: '#4e4965',
    500: '#0d072c',
    950: '#000000',
  },
}
SCSS
$custom: #0d072c;
$custom-light: #4e4965;
$custom-dark: #000000;
JSON
{
  "hex": "#0d072c",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 249.73,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.16837,
    "c": 0.07111,
    "h": 283.4
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#0D072C
secondary
#606C23
accent
#EF39D2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D072C

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

Preview Lab → · Contrast checker → · Palette generator →

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