#0D122E#0D122E

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

Color values

HEX#0D122E
RGBrgb(13, 18, 46)
HSLhsl(231, 56%, 12%)
HSVhsv(231, 72%, 18%)
CMYKcmyk(71.7%, 60.9%, 0%, 82%)
CIE-LABlab(6.46, 7.98, -19.42)
CIE-LCHlch(6.46, 21.00, 292.35°)
OKLaboklab(19.59% 0.0025 -0.0561)
OKLCHoklch(19.59% 0.056 272.6)
XYZxyz(0.8753, 0.7154, 2.6762)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D122E #2E290D
analogous
#0D232E #0D122E #190D2E
triadic
#0D122E #2E0D12 #122E0D
tetradic
#0D122E #2E0D23 #2E290D #0D2E19
square
#0D122E #2E0D23 #2E290D #0D2E19
split-complementary
#0D122E #2E190D #232E0D
monochromatic
#070918 #070918 #0D122E #1A255E #28378D

Accessibility & contrast

On white

18.37
#0D122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D122E
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D122E#FFFFFF#000000##FFFFFF
##0D122E1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d122e;
/* rgb */ color: rgb(13, 18, 46);
/* oklch */ color: oklch(19.6% 0.056 272.6);
Tailwind
colors: {
  custom: {
    50: '#4f4f67',
    500: '#0d122e',
    950: '#000000',
  },
}
SCSS
$custom: #0d122e;
$custom-light: #4f4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0d122e",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 230.909,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19588,
    "c": 0.05615,
    "h": 272.6
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#0D122E
secondary
#69602E
accent
#C849DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D122E

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

Preview Lab → · Contrast checker → · Palette generator →

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