#0D102C#0D102C

#0D102C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.9% C 0.056 H 275.1°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0D102C
RGBrgb(13, 16, 44)
HSLhsl(234, 54%, 11%)
HSVhsv(234, 70%, 17%)
CMYKcmyk(70.5%, 63.6%, 0%, 82.7%)
CIE-LABlab(5.76, 8.17, -19.04)
CIE-LCHlch(5.76, 20.72, 293.22°)
OKLaboklab(18.9% 0.005 -0.0557)
OKLCHoklch(18.9% 0.056 275.1)
XYZxyz(0.8057, 0.6379, 2.4631)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D102C #2C290D
analogous
#0D1F2C #0D102C #190D2C
triadic
#0D102C #2C0D10 #102C0D
tetradic
#0D102C #2C0D1F #2C290D #0D2C19
square
#0D102C #2C0D1F #2C290D #0D2C19
split-complementary
#0D102C #2C190D #1F2C0D
monochromatic
#070918 #070918 #0D102C #1B215B #29328A

Accessibility & contrast

On white

18.62
#0D102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D102C
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D102C#FFFFFF#000000##FFFFFF
##0D102C1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#01112B
Tritanopia (blue-blind)
#01161B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d102c;
/* rgb */ color: rgb(13, 16, 44);
/* oklch */ color: oklch(18.9% 0.056 275.1);
Tailwind
colors: {
  custom: {
    50: '#4e4e65',
    500: '#0d102c',
    950: '#000000',
  },
}
SCSS
$custom: #0d102c;
$custom-light: #4e4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#0d102c",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 234.194,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18903,
    "c": 0.05592,
    "h": 275.1
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#0D102C
secondary
#67612E
accent
#CF4ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D102C

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

Preview Lab → · Contrast checker → · Palette generator →

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