#0D082F#0D082F

#0D082F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.074 H 281.4°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0D082F
RGBrgb(13, 8, 47)
HSLhsl(248, 71%, 11%)
HSVhsv(248, 83%, 18%)
CMYKcmyk(72.3%, 83%, 0%, 81.6%)
CIE-LABlab(4.19, 13.28, -23.78)
CIE-LCHlch(4.19, 27.24, 299.19°)
OKLaboklab(17.41% 0.0146 -0.0727)
OKLCHoklch(17.41% 0.074 281.4)
XYZxyz(0.7657, 0.4644, 2.7381)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D082F #2A2F08
analogous
#08162F #0D082F #20082F
triadic
#0D082F #2F0D08 #082F0D
tetradic
#0D082F #2F0816 #2A2F08 #082F20
square
#0D082F #2F0816 #2A2F08 #082F20
split-complementary
#0D082F #2F2008 #162F08
monochromatic
#07041A #07041A #0D082F #1B1163 #2A1A98

Accessibility & contrast

On white

19.22
#0D082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D082F
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D082F#FFFFFF#000000##FFFFFF
##0D082F1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d082f;
/* rgb */ color: rgb(13, 8, 47);
/* oklch */ color: oklch(17.4% 0.074 281.4);
Tailwind
colors: {
  custom: {
    50: '#4f4a68',
    500: '#0d082f',
    950: '#000000',
  },
}
SCSS
$custom: #0d082f;
$custom-light: #4f4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d082f",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 247.692,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17405,
    "c": 0.07413,
    "h": 281.4
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#0D082F
secondary
#646E25
accent
#EE3AD7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D082F

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

Preview Lab → · Contrast checker → · Palette generator →

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