#0D113C#0D113C

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

Color values

HEX#0D113C
RGBrgb(13, 17, 60)
HSLhsl(235, 64%, 14%)
HSVhsv(235, 78%, 24%)
CMYKcmyk(78.3%, 71.7%, 0%, 76.5%)
CIE-LABlab(7.34, 15.23, -28.23)
CIE-LCHlch(7.34, 32.07, 298.35°)
OKLaboklab(20.72% 0.0041 -0.0815)
OKLCHoklch(20.72% 0.082 272.9)
XYZxyz(1.1818, 0.8126, 4.3687)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D113C #3C380D
analogous
#0D293C #0D113C #210D3C
triadic
#0D113C #3C0D11 #113C0D
tetradic
#0D113C #3C0D29 #3C380D #0D3C21
square
#0D113C #3C0D29 #3C380D #0D3C21
split-complementary
#0D113C #3C210D #293C0D
monochromatic
#050719 #050719 #0D113C #181F6E #232EA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D113C#FFFFFF#000000##FFFFFF
##0D113C1.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)
#00183D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d113c;
/* rgb */ color: rgb(13, 17, 60);
/* oklch */ color: oklch(20.7% 0.082 272.9);
Tailwind
colors: {
  custom: {
    50: '#534e72',
    500: '#0d113c',
    950: '#000000',
  },
}
SCSS
$custom: #0d113c;
$custom-light: #534e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0d113c",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 234.894,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20718,
    "c": 0.08163,
    "h": 272.9
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#0D113C
secondary
#78712D
accent
#D940E7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0D113C

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

Preview Lab → · Contrast checker → · Palette generator →

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