#0D103A#0D103A

#0D103A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.080 H 273.7°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#0D103A
RGBrgb(13, 16, 58)
HSLhsl(236, 63%, 14%)
HSVhsv(236, 78%, 23%)
CMYKcmyk(77.6%, 72.4%, 0%, 77.3%)
CIE-LABlab(6.88, 14.98, -27.54)
CIE-LCHlch(6.88, 31.35, 298.55°)
OKLaboklab(20.29% 0.0052 -0.0797)
OKLCHoklch(20.29% 0.08 273.7)
XYZxyz(1.1147, 0.7615, 4.0904)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D103A #3A370D
analogous
#0D273A #0D103A #210D3A
triadic
#0D103A #3A0D10 #103A0D
tetradic
#0D103A #3A0D27 #3A370D #0D3A21
square
#0D103A #3A0D27 #3A370D #0D3A21
split-complementary
#0D103A #3A210D #273A0D
monochromatic
#060719 #060719 #0D103A #181E6C #232C9E

Accessibility & contrast

On white

18.22
#0D103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D103A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D103A#FFFFFF#000000##FFFFFF
##0D103A1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d103a;
/* rgb */ color: rgb(13, 16, 58);
/* oklch */ color: oklch(20.3% 0.080 273.7);
Tailwind
colors: {
  custom: {
    50: '#534e71',
    500: '#0d103a',
    950: '#000000',
  },
}
SCSS
$custom: #0d103a;
$custom-light: #534e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d103a",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 236,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20288,
    "c": 0.07987,
    "h": 273.7
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#0D103A
secondary
#76712D
accent
#DB41E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D103A

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

Preview Lab → · Contrast checker → · Palette generator →

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