#0D0D3C#0D0D3C

#0D0D3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.087 H 275.0°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0D0D3C
RGBrgb(13, 13, 60)
HSLhsl(240, 64%, 14%)
HSVhsv(240, 78%, 24%)
CMYKcmyk(78.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(6.32, 17.75, -29.89)
CIE-LCHlch(6.32, 34.76, 300.71°)
OKLaboklab(19.89% 0.0076 -0.087)
OKLCHoklch(19.89% 0.087 275)
XYZxyz(1.1252, 0.6996, 4.3498)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D3C #3C3C0D
analogous
#0D253C #0D0D3C #250D3C
triadic
#0D0D3C #3C0D0D #0D3C0D
tetradic
#0D0D3C #3C0D25 #3C3C0D #0D3C25
square
#0D0D3C #3C0D25 #3C3C0D #0D3C25
split-complementary
#0D0D3C #3C250D #253C0D
monochromatic
#050519 #050519 #0D0D3C #18186E #2323A1

Accessibility & contrast

On white

18.42
#0D0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D3C
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D3C#FFFFFF#000000##FFFFFF
##0D0D3C1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0d3c;
/* rgb */ color: rgb(13, 13, 60);
/* oklch */ color: oklch(19.9% 0.087 275.0);
Tailwind
colors: {
  custom: {
    50: '#534c72',
    500: '#0d0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d3c;
$custom-light: #534c72;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d3c",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19889,
    "c": 0.08733,
    "h": 275
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#0D0D3C
secondary
#78782D
accent
#E740E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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