#0D103F#0D103F

#0D103F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 273.1°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#0D103F
RGBrgb(13, 16, 63)
HSLhsl(236, 66%, 15%)
HSVhsv(236, 79%, 25%)
CMYKcmyk(79.4%, 74.6%, 0%, 75.3%)
CIE-LABlab(7.36, 17.27, -30.34)
CIE-LCHlch(7.36, 34.91, 299.65°)
OKLaboklab(20.83% 0.0048 -0.0877)
OKLCHoklch(20.83% 0.088 273.1)
XYZxyz(1.2482, 0.8149, 4.7932)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D103F #3F3C0D
analogous
#0D293F #0D103F #230D3F
triadic
#0D103F #3F0D10 #103F0D
tetradic
#0D103F #3F0D29 #3F3C0D #0D3F23
square
#0D103F #3F0D29 #3F3C0D #0D3F23
split-complementary
#0D103F #3F230D #293F0D
monochromatic
#050619 #050619 #0D103F #171D72 #222AA4

Accessibility & contrast

On white

18.06
#0D103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D103F
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D103F#FFFFFF#000000##FFFFFF
##0D103F1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d103f;
/* rgb */ color: rgb(13, 16, 63);
/* oklch */ color: oklch(20.8% 0.088 273.1);
Tailwind
colors: {
  custom: {
    50: '#544e75',
    500: '#0d103f',
    950: '#000000',
  },
}
SCSS
$custom: #0d103f;
$custom-light: #544e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d103f",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 236.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2083,
    "c": 0.08786,
    "h": 273.1
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#0D103F
secondary
#7B762D
accent
#DF3FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D103F

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

Preview Lab → · Contrast checker → · Palette generator →

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