#0D104F#0D104F

#0D104F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.112 H 271.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0D104F
RGBrgb(13, 16, 79)
HSLhsl(237, 72%, 18%)
HSVhsv(237, 84%, 31%)
CMYKcmyk(83.5%, 79.7%, 0%, 69%)
CIE-LABlab(9.16, 23.88, -38.60)
CIE-LCHlch(9.16, 45.39, 301.74°)
OKLaboklab(22.69% 0.0025 -0.1118)
OKLCHoklch(22.69% 0.112 271.3)
XYZxyz(1.7621, 1.0205, 7.4997)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D104F #4F4C0D
analogous
#0D314F #0D104F #2B0D4F
triadic
#0D104F #4F0D10 #104F0D
tetradic
#0D104F #4F0D31 #4F4C0D #0D4F2B
square
#0D104F #4F0D31 #4F4C0D #0D4F2B
split-complementary
#0D104F #4F2B0D #314F0D
monochromatic
#04051A #04051A #0D104F #161B84 #1E25B8

Accessibility & contrast

On white

17.44
#0D104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D104F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D104F#FFFFFF#000000##FFFFFF
##0D104F1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d104f;
/* rgb */ color: rgb(13, 16, 79);
/* oklch */ color: oklch(22.7% 0.112 271.3);
Tailwind
colors: {
  custom: {
    50: '#594e81',
    500: '#0d104f',
    950: '#000000',
  },
}
SCSS
$custom: #0d104f;
$custom-light: #594e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d104f",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 237.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22691,
    "c": 0.11179,
    "h": 271.3
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#0D104F
secondary
#8A862E
accent
#E639EE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D104F

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

Preview Lab → · Contrast checker → · Palette generator →

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