#0D113F#0D113F

#0D113F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.086 H 272.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#0D113F
RGBrgb(13, 17, 63)
HSLhsl(235, 66%, 15%)
HSVhsv(235, 79%, 25%)
CMYKcmyk(79.4%, 73%, 0%, 75.3%)
CIE-LABlab(7.63, 16.57, -29.89)
CIE-LCHlch(7.63, 34.18, 298.99°)
OKLaboklab(21.04% 0.0039 -0.0863)
OKLCHoklch(21.04% 0.086 272.6)
XYZxyz(1.2633, 0.8452, 4.7982)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D113F #3F3B0D
analogous
#0D2A3F #0D113F #220D3F
triadic
#0D113F #3F0D11 #113F0D
tetradic
#0D113F #3F0D2A #3F3B0D #0D3F22
square
#0D113F #3F0D2A #3F3B0D #0D3F22
split-complementary
#0D113F #3F220D #2A3F0D
monochromatic
#050719 #050719 #0D113F #171F72 #222CA4

Accessibility & contrast

On white

17.96
#0D113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D113F
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D113F#FFFFFF#000000##FFFFFF
##0D113F1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d113f;
/* rgb */ color: rgb(13, 17, 63);
/* oklch */ color: oklch(21.0% 0.086 272.6);
Tailwind
colors: {
  custom: {
    50: '#544e75',
    500: '#0d113f',
    950: '#000000',
  },
}
SCSS
$custom: #0d113f;
$custom-light: #544e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d113f",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 235.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21039,
    "c": 0.08644,
    "h": 272.6
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#0D113F
secondary
#7B742D
accent
#DB3FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D113F

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

Preview Lab → · Contrast checker → · Palette generator →

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