#0D0E2A#0D0E2A

#0D0E2A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.056 H 277.8°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#0D0E2A
RGBrgb(13, 14, 42)
HSLhsl(238, 53%, 11%)
HSVhsv(238, 69%, 16%)
CMYKcmyk(69%, 66.7%, 0%, 83.5%)
CIE-LABlab(5.12, 8.28, -18.55)
CIE-LCHlch(5.12, 20.32, 294.04°)
OKLaboklab(18.22% 0.0076 -0.0552)
OKLCHoklch(18.22% 0.056 277.8)
XYZxyz(0.7408, 0.5668, 2.2604)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E2A #2A290D
analogous
#0D1C2A #0D0E2A #1A0D2A
triadic
#0D0E2A #2A0D0E #0E2A0D
tetradic
#0D0E2A #2A0D1C #2A290D #0D2A1A
square
#0D0E2A #2A0D1C #2A290D #0D2A1A
split-complementary
#0D0E2A #2A1A0D #1C2A0D
monochromatic
#070817 #070817 #0D0E2A #1B1E59 #2A2D87

Accessibility & contrast

On white

18.86
#0D0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0D0E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0E2A
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E2A#FFFFFF#000000##FFFFFF
##0D0E2A1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#02141A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0e2a;
/* rgb */ color: rgb(13, 14, 42);
/* oklch */ color: oklch(18.2% 0.056 277.8);
Tailwind
colors: {
  custom: {
    50: '#4e4d63',
    500: '#0d0e2a',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e2a;
$custom-light: #4e4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e2a",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 237.931,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18224,
    "c": 0.05576,
    "h": 277.8
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#0D0E2A
secondary
#64632E
accent
#D74CDC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0D0E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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