#0D102F#0D102F

#0D102F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.061 H 274.9°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#0D102F
RGBrgb(13, 16, 47)
HSLhsl(235, 57%, 12%)
HSVhsv(235, 72%, 18%)
CMYKcmyk(72.3%, 66%, 0%, 81.6%)
CIE-LABlab(5.97, 9.65, -20.94)
CIE-LCHlch(5.97, 23.06, 294.73°)
OKLaboklab(19.18% 0.0052 -0.061)
OKLCHoklch(19.18% 0.061 274.9)
XYZxyz(0.8642, 0.6613, 2.7709)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D102F #2F2C0D
analogous
#0D212F #0D102F #1B0D2F
triadic
#0D102F #2F0D10 #102F0D
tetradic
#0D102F #2F0D21 #2F2C0D #0D2F1B
square
#0D102F #2F0D21 #2F2C0D #0D2F1B
split-complementary
#0D102F #2F1B0D #212F0D
monochromatic
#070818 #070818 #0D102F #1A205F #28318F

Accessibility & contrast

On white

18.55
#0D102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D102F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D102F#FFFFFF#000000##FFFFFF
##0D102F1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d102f;
/* rgb */ color: rgb(13, 16, 47);
/* oklch */ color: oklch(19.2% 0.061 274.9);
Tailwind
colors: {
  custom: {
    50: '#4f4e68',
    500: '#0d102f',
    950: '#000000',
  },
}
SCSS
$custom: #0d102f;
$custom-light: #4f4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d102f",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 234.706,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19181,
    "c": 0.06127,
    "h": 274.9
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#0D102F
secondary
#6A652E
accent
#D348E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D102F

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

Preview Lab → · Contrast checker → · Palette generator →

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