#0D0C38#0D0C38

#0D0C38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.082 H 276.3°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#0D0C38
RGBrgb(13, 12, 56)
HSLhsl(241, 65%, 13%)
HSVhsv(241, 79%, 22%)
CMYKcmyk(76.8%, 78.6%, 0%, 78%)
CIE-LABlab(5.73, 16.32, -27.96)
CIE-LCHlch(5.73, 32.37, 300.27°)
OKLaboklab(19.24% 0.0091 -0.082)
OKLCHoklch(19.24% 0.082 276.3)
XYZxyz(1.0110, 0.6339, 3.8097)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C38 #37380C
analogous
#0C2138 #0D0C38 #230C38
triadic
#0D0C38 #380D0C #0C380D
tetradic
#0D0C38 #380C21 #37380C #0C3823
square
#0D0C38 #380C21 #37380C #0C3823
split-complementary
#0D0C38 #38230C #21380C
monochromatic
#060519 #060519 #0D0C38 #19176A #24229D

Accessibility & contrast

On white

18.64
#0D0C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C38
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C38#FFFFFF#000000##FFFFFF
##0D0C381.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0c38;
/* rgb */ color: rgb(13, 12, 56);
/* oklch */ color: oklch(19.2% 0.082 276.3);
Tailwind
colors: {
  custom: {
    50: '#524b6f',
    500: '#0d0c38',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c38;
$custom-light: #524b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c38",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 241.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19236,
    "c": 0.08247,
    "h": 276.3
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#0D0C38
secondary
#72742C
accent
#E840E4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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