#0D104C#0D104C

#0D104C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.107 H 271.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0D104C
RGBrgb(13, 16, 76)
HSLhsl(237, 71%, 17%)
HSVhsv(237, 83%, 30%)
CMYKcmyk(82.9%, 78.9%, 0%, 70.2%)
CIE-LABlab(8.81, 22.68, -37.11)
CIE-LCHlch(8.81, 43.50, 301.43°)
OKLaboklab(22.33% 0.003 -0.1074)
OKLCHoklch(22.33% 0.107 271.6)
XYZxyz(1.6553, 0.9778, 6.9376)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D104C #4C490D
analogous
#0D2F4C #0D104C #2A0D4C
triadic
#0D104C #4C0D10 #104C0D
tetradic
#0D104C #4C0D2F #4C490D #0D4C2A
square
#0D104C #4C0D2F #4C490D #0D4C2A
split-complementary
#0D104C #4C2A0D #2F4C0D
monochromatic
#04061A #04061A #0D104C #161B80 #1F26B5

Accessibility & contrast

On white

17.56
#0D104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D104C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D104C#FFFFFF#000000##FFFFFF
##0D104C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d104c;
/* rgb */ color: rgb(13, 16, 76);
/* oklch */ color: oklch(22.3% 0.107 271.6);
Tailwind
colors: {
  custom: {
    50: '#584e7f',
    500: '#0d104c',
    950: '#000000',
  },
}
SCSS
$custom: #0d104c;
$custom-light: #584e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d104c",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 237.143,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2233,
    "c": 0.10746,
    "h": 271.6
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D104C

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

Preview Lab → · Contrast checker → · Palette generator →

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