#0D0E2F#0D0E2F

#0D0E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.065 H 276.8°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#0D0E2F
RGBrgb(13, 14, 47)
HSLhsl(238, 57%, 12%)
HSVhsv(238, 72%, 18%)
CMYKcmyk(72.3%, 70.2%, 0%, 81.6%)
CIE-LABlab(5.46, 10.69, -21.76)
CIE-LCHlch(5.46, 24.24, 296.18°)
OKLaboklab(18.7% 0.0077 -0.0641)
OKLCHoklch(18.7% 0.065 276.8)
XYZxyz(0.8359, 0.6048, 2.7615)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E2F #2F2E0D
analogous
#0D1F2F #0D0E2F #1D0D2F
triadic
#0D0E2F #2F0D0E #0E2F0D
tetradic
#0D0E2F #2F0D1F #2F2E0D #0D2F1D
square
#0D0E2F #2F0D1F #2F2E0D #0D2F1D
split-complementary
#0D0E2F #2F1D0D #1F2F0D
monochromatic
#070718 #070718 #0D0E2F #1A1C5F #282B8F

Accessibility & contrast

On white

18.73
#0D0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D0E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0E2F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E2F#FFFFFF#000000##FFFFFF
##0D0E2F1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0e2f;
/* rgb */ color: rgb(13, 14, 47);
/* oklch */ color: oklch(18.7% 0.065 276.8);
Tailwind
colors: {
  custom: {
    50: '#4f4d68',
    500: '#0d0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e2f;
$custom-light: #4f4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e2f",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 238.235,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18705,
    "c": 0.06457,
    "h": 276.8
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#0D0E2F
secondary
#6A682E
accent
#DB48E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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