#0D082C#0D082C

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

Color values

HEX#0D082C
RGBrgb(13, 8, 44)
HSLhsl(248, 69%, 10%)
HSVhsv(248, 82%, 17%)
CMYKcmyk(70.5%, 81.8%, 0%, 82.7%)
CIE-LABlab(3.98, 11.80, -21.86)
CIE-LCHlch(3.98, 24.84, 298.37°)
OKLaboklab(17.07% 0.0152 -0.0676)
OKLCHoklch(17.07% 0.069 282.7)
XYZxyz(0.7073, 0.4410, 2.4302)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D082C #272C08
analogous
#08152C #0D082C #1F082C
triadic
#0D082C #2C0D08 #082C0D
tetradic
#0D082C #2C0815 #272C08 #082C1F
square
#0D082C #2C0815 #272C08 #082C1F
split-complementary
#0D082C #2C1F08 #152C08
monochromatic
#08051A #08051A #0D082C #1C1160 #2C1B94

Accessibility & contrast

On white

19.30
#0D082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D082C
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D082C#FFFFFF#000000##FFFFFF
##0D082C1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#011118
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d082c;
/* rgb */ color: rgb(13, 8, 44);
/* oklch */ color: oklch(17.1% 0.069 282.7);
Tailwind
colors: {
  custom: {
    50: '#4e4a65',
    500: '#0d082c',
    950: '#000000',
  },
}
SCSS
$custom: #0d082c;
$custom-light: #4e4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#0d082c",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 248.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17065,
    "c": 0.06933,
    "h": 282.7
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#0D082C
secondary
#616B25
accent
#EC3CD4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D082C

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

Preview Lab → · Contrast checker → · Palette generator →

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