#0D104D#0D104D

#0D104D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.109 H 271.5°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0D104D
RGBrgb(13, 16, 77)
HSLhsl(237, 71%, 18%)
HSVhsv(237, 83%, 30%)
CMYKcmyk(83.1%, 79.2%, 0%, 69.8%)
CIE-LABlab(8.92, 23.09, -37.61)
CIE-LCHlch(8.92, 44.13, 301.54°)
OKLaboklab(22.45% 0.0028 -0.1089)
OKLCHoklch(22.45% 0.109 271.5)
XYZxyz(1.6904, 0.9918, 7.1221)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D104D #4D4A0D
analogous
#0D304D #0D104D #2A0D4D
triadic
#0D104D #4D0D10 #104D0D
tetradic
#0D104D #4D0D30 #4D4A0D #0D4D2A
square
#0D104D #4D0D30 #4D4A0D #0D4D2A
split-complementary
#0D104D #4D2A0D #304D0D
monochromatic
#04051A #04051A #0D104D #161B81 #1F26B6

Accessibility & contrast

On white

17.52
#0D104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D104D
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D104D#FFFFFF#000000##FFFFFF
##0D104D1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00164C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d104d;
/* rgb */ color: rgb(13, 16, 77);
/* oklch */ color: oklch(22.4% 0.109 271.5);
Tailwind
colors: {
  custom: {
    50: '#594e80',
    500: '#0d104d',
    950: '#000000',
  },
}
SCSS
$custom: #0d104d;
$custom-light: #594e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d104d",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 237.188,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22449,
    "c": 0.10891,
    "h": 271.5
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#0D104D
secondary
#88842E
accent
#E53AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D104D

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

Preview Lab → · Contrast checker → · Palette generator →

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