#0D122D#0D122D

#0D122D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.054 H 272.5°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#0D122D
RGBrgb(13, 18, 45)
HSLhsl(231, 55%, 11%)
HSVhsv(231, 71%, 18%)
CMYKcmyk(71.1%, 60%, 0%, 82.4%)
CIE-LABlab(6.39, 7.50, -18.79)
CIE-LCHlch(6.39, 20.23, 291.77°)
OKLaboklab(19.5% 0.0024 -0.0543)
OKLCHoklch(19.5% 0.054 272.5)
XYZxyz(0.8558, 0.7076, 2.5736)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D122D #2D280D
analogous
#0D222D #0D122D #180D2D
triadic
#0D122D #2D0D12 #122D0D
tetradic
#0D122D #2D0D22 #2D280D #0D2D18
square
#0D122D #2D0D22 #2D280D #0D2D18
split-complementary
#0D122D #2D180D #222D0D
monochromatic
#070918 #070918 #0D122D #1B255C #28388C

Accessibility & contrast

On white

18.40
#0D122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D122D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D122D
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D122D#FFFFFF#000000##FFFFFF
##0D122D1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#02132C
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d122d;
/* rgb */ color: rgb(13, 18, 45);
/* oklch */ color: oklch(19.5% 0.054 272.5);
Tailwind
colors: {
  custom: {
    50: '#4f4f66',
    500: '#0d122d',
    950: '#000000',
  },
}
SCSS
$custom: #0d122d;
$custom-light: #4f4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0d122d",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 230.625,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19501,
    "c": 0.05434,
    "h": 272.5
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#0D122D
secondary
#685F2E
accent
#C749DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D122D

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

Preview Lab → · Contrast checker → · Palette generator →

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