#0D0D38#0D0D38

#0D0D38 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.081 H 275.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#0D0D38
RGBrgb(13, 13, 56)
HSLhsl(240, 62%, 14%)
HSVhsv(240, 77%, 22%)
CMYKcmyk(76.8%, 76.8%, 0%, 78%)
CIE-LABlab(5.95, 15.80, -27.59)
CIE-LCHlch(5.95, 31.79, 299.79°)
OKLaboklab(19.44% 0.0082 -0.0806)
OKLCHoklch(19.44% 0.081 275.8)
XYZxyz(1.0235, 0.6588, 3.8138)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D38 #38380D
analogous
#0D2238 #0D0D38 #220D38
triadic
#0D0D38 #380D0D #0D380D
tetradic
#0D0D38 #380D22 #38380D #0D3822
square
#0D0D38 #380D22 #38380D #0D3822
split-complementary
#0D0D38 #38220D #22380D
monochromatic
#060619 #060619 #0D0D38 #19196A #24249B

Accessibility & contrast

On white

18.55
#0D0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D38
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D38#FFFFFF#000000##FFFFFF
##0D0D381.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.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: #0d0d38;
/* rgb */ color: rgb(13, 13, 56);
/* oklch */ color: oklch(19.4% 0.081 275.8);
Tailwind
colors: {
  custom: {
    50: '#524c6f',
    500: '#0d0d38',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d38;
$custom-light: #524c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d38",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19437,
    "c": 0.08104,
    "h": 275.8
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#0D0D38
secondary
#73732D
accent
#E542E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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