#0D114F#0D114F

#0D114F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.111 H 271.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0D114F
RGBrgb(13, 17, 79)
HSLhsl(236, 72%, 18%)
HSVhsv(236, 84%, 31%)
CMYKcmyk(83.5%, 78.5%, 0%, 69%)
CIE-LABlab(9.41, 23.19, -38.20)
CIE-LCHlch(9.41, 44.69, 301.27°)
OKLaboklab(22.87% 0.0019 -0.1106)
OKLCHoklch(22.87% 0.111 271)
XYZxyz(1.7772, 1.0508, 7.5048)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D114F #4F4B0D
analogous
#0D324F #0D114F #2A0D4F
triadic
#0D114F #4F0D11 #114F0D
tetradic
#0D114F #4F0D32 #4F4B0D #0D4F2A
square
#0D114F #4F0D32 #4F4B0D #0D4F2A
split-complementary
#0D114F #4F2A0D #324F0D
monochromatic
#04061A #04061A #0D114F #161C84 #1E28B8

Accessibility & contrast

On white

17.35
#0D114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D114F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D114F#FFFFFF#000000##FFFFFF
##0D114F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d114f;
/* rgb */ color: rgb(13, 17, 79);
/* oklch */ color: oklch(22.9% 0.111 271.0);
Tailwind
colors: {
  custom: {
    50: '#594f81',
    500: '#0d114f',
    950: '#000000',
  },
}
SCSS
$custom: #0d114f;
$custom-light: #594f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d114f",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 236.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.1106,
    "h": 271
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#0D114F
secondary
#8A842E
accent
#E339EE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D114F

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

Preview Lab → · Contrast checker → · Palette generator →

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