#0D104A#0D104A

#0D104A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.105 H 271.8°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0D104A
RGBrgb(13, 16, 74)
HSLhsl(237, 70%, 17%)
HSVhsv(237, 82%, 29%)
CMYKcmyk(82.4%, 78.4%, 0%, 71%)
CIE-LABlab(8.57, 21.88, -36.11)
CIE-LCHlch(8.57, 42.22, 301.22°)
OKLaboklab(22.09% 0.0033 -0.1045)
OKLCHoklch(22.09% 0.105 271.8)
XYZxyz(1.5869, 0.9504, 6.5770)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D104A #4A470D
analogous
#0D2F4A #0D104A #290D4A
triadic
#0D104A #4A0D10 #104A0D
tetradic
#0D104A #4A0D2F #4A470D #0D4A29
square
#0D104A #4A0D2F #4A470D #0D4A29
split-complementary
#0D104A #4A290D #2F4A0D
monochromatic
#05061A #05061A #0D104A #161B7E #1F27B2

Accessibility & contrast

On white

17.64
#0D104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D104A
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D104A#FFFFFF#000000##FFFFFF
##0D104A1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d104a;
/* rgb */ color: rgb(13, 16, 74);
/* oklch */ color: oklch(22.1% 0.105 271.8);
Tailwind
colors: {
  custom: {
    50: '#584e7d',
    500: '#0d104a',
    950: '#000000',
  },
}
SCSS
$custom: #0d104a;
$custom-light: #584e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d104a",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 237.049,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22092,
    "c": 0.10454,
    "h": 271.8
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#0D104A
secondary
#85812E
accent
#E43BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D104A

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

Preview Lab → · Contrast checker → · Palette generator →

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