#0D114A#0D114A

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

Color values

HEX#0D114A
RGBrgb(13, 17, 74)
HSLhsl(236, 70%, 17%)
HSVhsv(236, 82%, 29%)
CMYKcmyk(82.4%, 77%, 0%, 71%)
CIE-LABlab(8.83, 21.17, -35.68)
CIE-LCHlch(8.83, 41.49, 300.68°)
OKLaboklab(22.28% 0.0027 -0.1032)
OKLCHoklch(22.28% 0.103 271.5)
XYZxyz(1.6020, 0.9807, 6.5821)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D114A #4A460D
analogous
#0D304A #0D114A #280D4A
triadic
#0D114A #4A0D11 #114A0D
tetradic
#0D114A #4A0D30 #4A460D #0D4A28
square
#0D114A #4A0D30 #4A460D #0D4A28
split-complementary
#0D114A #4A280D #304A0D
monochromatic
#05061A #05061A #0D114A #161D7E #1F29B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D114A#FFFFFF#000000##FFFFFF
##0D114A1.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)
#001C4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d114a;
/* rgb */ color: rgb(13, 17, 74);
/* oklch */ color: oklch(22.3% 0.103 271.5);
Tailwind
colors: {
  custom: {
    50: '#584f7d',
    500: '#0d114a',
    950: '#000000',
  },
}
SCSS
$custom: #0d114a;
$custom-light: #584f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d114a",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 236.066,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22278,
    "c": 0.10328,
    "h": 271.5
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#0D114A
secondary
#85802E
accent
#E13BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D114A

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

Preview Lab → · Contrast checker → · Palette generator →

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