#0D0C2E#0D0C2E

#0D0C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.066 H 278.8°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#0D0C2E
RGBrgb(13, 12, 46)
HSLhsl(242, 59%, 11%)
HSVhsv(242, 74%, 18%)
CMYKcmyk(71.7%, 73.9%, 0%, 82%)
CIE-LABlab(4.93, 11.13, -21.86)
CIE-LCHlch(4.93, 24.53, 296.99°)
OKLaboklab(18.15% 0.0102 -0.0653)
OKLCHoklch(18.15% 0.066 278.8)
XYZxyz(0.7904, 0.5457, 2.6479)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C2E #2D2E0C
analogous
#0C1C2E #0D0C2E #1E0C2E
triadic
#0D0C2E #2E0D0C #0C2E0D
tetradic
#0D0C2E #2E0C1C #2D2E0C #0C2E1E
square
#0D0C2E #2E0C1C #2D2E0C #0C2E1E
split-complementary
#0D0C2E #2E1E0C #1C2E0C
monochromatic
#070618 #070618 #0D0C2E #1B195F #28258F

Accessibility & contrast

On white

18.93
#0D0C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C2E
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C2E#FFFFFF#000000##FFFFFF
##0D0C2E1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0c2e;
/* rgb */ color: rgb(13, 12, 46);
/* oklch */ color: oklch(18.1% 0.066 278.8);
Tailwind
colors: {
  custom: {
    50: '#4f4c67',
    500: '#0d0c2e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c2e;
$custom-light: #4f4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c2e",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 241.765,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18149,
    "c": 0.06612,
    "h": 278.8
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#0D0C2E
secondary
#686A2C
accent
#E246DD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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