#0D1638#0D1638

#0D1638 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.067 H 268.9°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#0D1638
RGBrgb(13, 22, 56)
HSLhsl(227, 62%, 14%)
HSVhsv(227, 77%, 22%)
CMYKcmyk(76.8%, 60.7%, 0%, 78%)
CIE-LABlab(8.52, 9.63, -23.43)
CIE-LCHlch(8.52, 25.33, 292.35°)
OKLaboklab(21.5% -0.0012 -0.0673)
OKLCHoklch(21.5% 0.067 268.9)
XYZxyz(1.1665, 0.9448, 3.8615)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1638 #382F0D
analogous
#0D2B38 #0D1638 #190D38
triadic
#0D1638 #380D16 #16380D
tetradic
#0D1638 #380D2B #382F0D #0D3819
square
#0D1638 #380D2B #382F0D #0D3819
split-complementary
#0D1638 #38190D #2B380D
monochromatic
#060A19 #060A19 #0D1638 #192A6A #243D9B

Accessibility & contrast

On white

17.66
#0D1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1638
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1638#FFFFFF#000000##FFFFFF
##0D16381.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B39
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d1638;
/* rgb */ color: rgb(13, 22, 56);
/* oklch */ color: oklch(21.5% 0.067 268.9);
Tailwind
colors: {
  custom: {
    50: '#52526f',
    500: '#0d1638',
    950: '#000000',
  },
}
SCSS
$custom: #0d1638;
$custom-light: #52526f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1638",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 227.442,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21498,
    "c": 0.06727,
    "h": 268.9
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#0D1638
secondary
#73652D
accent
#C342E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0D1638

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

Preview Lab → · Contrast checker → · Palette generator →

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