#0D113B#0D113B

#0D113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.080 H 273.0°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#0D113B
RGBrgb(13, 17, 59)
HSLhsl(235, 64%, 14%)
HSVhsv(235, 78%, 23%)
CMYKcmyk(78%, 71.2%, 0%, 76.9%)
CIE-LABlab(7.25, 14.78, -27.66)
CIE-LCHlch(7.25, 31.36, 298.11°)
OKLaboklab(20.61% 0.0041 -0.0799)
OKLCHoklch(20.61% 0.08 273)
XYZxyz(1.1556, 0.8021, 4.2308)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D113B #3B370D
analogous
#0D283B #0D113B #200D3B
triadic
#0D113B #3B0D11 #113B0D
tetradic
#0D113B #3B0D28 #3B370D #0D3B20
square
#0D113B #3B0D28 #3B370D #0D3B20
split-complementary
#0D113B #3B200D #283B0D
monochromatic
#060719 #060719 #0D113B #181F6D #232E9F

Accessibility & contrast

On white

18.10
#0D113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D113B
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D113B#FFFFFF#000000##FFFFFF
##0D113B1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d113b;
/* rgb */ color: rgb(13, 17, 59);
/* oklch */ color: oklch(20.6% 0.080 273.0);
Tailwind
colors: {
  custom: {
    50: '#534e71',
    500: '#0d113b',
    950: '#000000',
  },
}
SCSS
$custom: #0d113b;
$custom-light: #534e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d113b",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 234.783,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20612,
    "c": 0.08001,
    "h": 273
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#0D113B
secondary
#77702D
accent
#D841E7
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0D113B

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

Preview Lab → · Contrast checker → · Palette generator →

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