#0D082B#0D082B

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

Color values

HEX#0D082B
RGBrgb(13, 8, 43)
HSLhsl(249, 69%, 10%)
HSVhsv(249, 81%, 17%)
CMYKcmyk(69.8%, 81.4%, 0%, 83.1%)
CIE-LABlab(3.92, 11.33, -21.21)
CIE-LCHlch(3.92, 24.04, 298.11°)
OKLaboklab(16.95% 0.0154 -0.0659)
OKLCHoklch(16.95% 0.068 283.1)
XYZxyz(0.6887, 0.4336, 2.3324)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D082B #262B08
analogous
#08152B #0D082B #1E082B
triadic
#0D082B #2B0D08 #082B0D
tetradic
#0D082B #2B0815 #262B08 #082B1E
square
#0D082B #2B0815 #262B08 #082B1E
split-complementary
#0D082B #2B1E08 #152B08
monochromatic
#08051A #08051A #0D082B #1D125F #2C1B92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D082B#FFFFFF#000000##FFFFFF
##0D082B1.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)
#000F2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#021118
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d082b;
/* rgb */ color: rgb(13, 8, 43);
/* oklch */ color: oklch(17.0% 0.068 283.1);
Tailwind
colors: {
  custom: {
    50: '#4e4a64',
    500: '#0d082b',
    950: '#000000',
  },
}
SCSS
$custom: #0d082b;
$custom-light: #4e4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0d082b",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 248.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.16954,
    "c": 0.0677,
    "h": 283.1
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#0D082B
secondary
#606A25
accent
#EB3CD2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D082B

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

Preview Lab → · Contrast checker → · Palette generator →

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