#0D1145#0D1145

#0D1145 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.096 H 272.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#0D1145
RGBrgb(13, 17, 69)
HSLhsl(236, 68%, 16%)
HSVhsv(236, 81%, 27%)
CMYKcmyk(81.2%, 75.4%, 0%, 72.9%)
CIE-LABlab(8.27, 19.11, -33.10)
CIE-LCHlch(8.27, 38.22, 300.00°)
OKLaboklab(21.7% 0.0033 -0.0957)
OKLCHoklch(21.7% 0.096 272)
XYZxyz(1.4402, 0.9160, 5.7300)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1145 #45410D
analogous
#0D2D45 #0D1145 #250D45
triadic
#0D1145 #450D11 #11450D
tetradic
#0D1145 #450D2D #45410D #0D4525
square
#0D1145 #450D2D #45410D #0D4525
split-complementary
#0D1145 #45250D #2D450D
monochromatic
#05061A #05061A #0D1145 #171E78 #202AAC

Accessibility & contrast

On white

17.75
#0D1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1145
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1145#FFFFFF#000000##FFFFFF
##0D11451.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1145;
/* rgb */ color: rgb(13, 17, 69);
/* oklch */ color: oklch(21.7% 0.096 272.0);
Tailwind
colors: {
  custom: {
    50: '#564f79',
    500: '#0d1145',
    950: '#000000',
  },
}
SCSS
$custom: #0d1145;
$custom-light: #564f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1145",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 235.714,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21704,
    "c": 0.09577,
    "h": 272
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#0D1145
secondary
#807B2D
accent
#DF3DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D1145

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

Preview Lab → · Contrast checker → · Palette generator →

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