#0D122F#0D122F

#0D122F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.7% C 0.058 H 272.6°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#0D122F
RGBrgb(13, 18, 47)
HSLhsl(231, 57%, 12%)
HSVhsv(231, 72%, 18%)
CMYKcmyk(72.3%, 61.7%, 0%, 81.6%)
CIE-LABlab(6.53, 8.46, -20.05)
CIE-LCHlch(6.53, 21.76, 292.89°)
OKLaboklab(19.68% 0.0026 -0.0579)
OKLCHoklch(19.68% 0.058 272.6)
XYZxyz(0.8952, 0.7233, 2.7812)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D122F #2F2A0D
analogous
#0D232F #0D122F #190D2F
triadic
#0D122F #2F0D12 #122F0D
tetradic
#0D122F #2F0D23 #2F2A0D #0D2F19
square
#0D122F #2F0D23 #2F2A0D #0D2F19
split-complementary
#0D122F #2F190D #232F0D
monochromatic
#070918 #070918 #0D122F #1A245F #28378F

Accessibility & contrast

On white

18.35
#0D122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D122F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D122F#FFFFFF#000000##FFFFFF
##0D122F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d122f;
/* rgb */ color: rgb(13, 18, 47);
/* oklch */ color: oklch(19.7% 0.058 272.6);
Tailwind
colors: {
  custom: {
    50: '#4f4f68',
    500: '#0d122f',
    950: '#000000',
  },
}
SCSS
$custom: #0d122f;
$custom-light: #4f4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d122f",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 231.176,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19678,
    "c": 0.05794,
    "h": 272.6
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#0D122F
secondary
#6A612E
accent
#CA48E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D122F

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

Preview Lab → · Contrast checker → · Palette generator →

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