#0D103C#0D103C

#0D103C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.083 H 273.5°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0D103C
RGBrgb(13, 16, 60)
HSLhsl(236, 64%, 14%)
HSVhsv(236, 78%, 24%)
CMYKcmyk(78.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(7.07, 15.91, -28.67)
CIE-LCHlch(7.07, 32.79, 299.03°)
OKLaboklab(20.5% 0.005 -0.0829)
OKLCHoklch(20.5% 0.083 273.5)
XYZxyz(1.1666, 0.7823, 4.3636)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D103C #3C390D
analogous
#0D283C #0D103C #220D3C
triadic
#0D103C #3C0D10 #103C0D
tetradic
#0D103C #3C0D28 #3C390D #0D3C22
square
#0D103C #3C0D28 #3C390D #0D3C22
split-complementary
#0D103C #3C220D #283C0D
monochromatic
#050719 #050719 #0D103C #181D6E #232BA1

Accessibility & contrast

On white

18.16
#0D103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D103C
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D103C#FFFFFF#000000##FFFFFF
##0D103C1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d103c;
/* rgb */ color: rgb(13, 16, 60);
/* oklch */ color: oklch(20.5% 0.083 273.5);
Tailwind
colors: {
  custom: {
    50: '#534e72',
    500: '#0d103c',
    950: '#000000',
  },
}
SCSS
$custom: #0d103c;
$custom-light: #534e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0d103c",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 236.17,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20502,
    "c": 0.08309,
    "h": 273.5
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#0D103C
secondary
#78732D
accent
#DD40E7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0D103C

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

Preview Lab → · Contrast checker → · Palette generator →

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