#0D113A#0D113A

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

Color values

HEX#0D113A
RGBrgb(13, 17, 58)
HSLhsl(235, 63%, 14%)
HSVhsv(235, 78%, 23%)
CMYKcmyk(77.6%, 70.7%, 0%, 77.3%)
CIE-LABlab(7.15, 14.32, -27.09)
CIE-LCHlch(7.15, 30.64, 297.86°)
OKLaboklab(20.51% 0.0042 -0.0783)
OKLCHoklch(20.51% 0.078 273.1)
XYZxyz(1.1299, 0.7918, 4.0955)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D113A #3A360D
analogous
#0D283A #0D113A #200D3A
triadic
#0D113A #3A0D11 #113A0D
tetradic
#0D113A #3A0D28 #3A360D #0D3A20
square
#0D113A #3A0D28 #3A360D #0D3A20
split-complementary
#0D113A #3A200D #283A0D
monochromatic
#060719 #060719 #0D113A #18206C #232E9E

Accessibility & contrast

On white

18.13
#0D113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D113A
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D113A#FFFFFF#000000##FFFFFF
##0D113A1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d113a;
/* rgb */ color: rgb(13, 17, 58);
/* oklch */ color: oklch(20.5% 0.078 273.1);
Tailwind
colors: {
  custom: {
    50: '#534e71',
    500: '#0d113a',
    950: '#000000',
  },
}
SCSS
$custom: #0d113a;
$custom-light: #534e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d113a",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 234.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20508,
    "c": 0.07837,
    "h": 273.1
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#0D113A
secondary
#766F2D
accent
#D841E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D113A

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

Preview Lab → · Contrast checker → · Palette generator →

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