#0D0D3F#0D0D3F

#0D0D3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.092 H 274.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#0D0D3F
RGBrgb(13, 13, 63)
HSLhsl(240, 66%, 15%)
HSVhsv(240, 79%, 25%)
CMYKcmyk(79.4%, 79.4%, 0%, 75.3%)
CIE-LABlab(6.61, 19.17, -31.56)
CIE-LCHlch(6.61, 36.93, 301.28°)
OKLaboklab(20.24% 0.0071 -0.0917)
OKLCHoklch(20.24% 0.092 274.4)
XYZxyz(1.2068, 0.7322, 4.7794)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D3F #3F3F0D
analogous
#0D263F #0D0D3F #260D3F
triadic
#0D0D3F #3F0D0D #0D3F0D
tetradic
#0D0D3F #3F0D26 #3F3F0D #0D3F26
square
#0D0D3F #3F0D26 #3F3F0D #0D3F26
split-complementary
#0D0D3F #3F260D #263F0D
monochromatic
#050519 #050519 #0D0D3F #171772 #2222A4

Accessibility & contrast

On white

18.32
#0D0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D3F
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D3F#FFFFFF#000000##FFFFFF
##0D0D3F1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0d3f;
/* rgb */ color: rgb(13, 13, 63);
/* oklch */ color: oklch(20.2% 0.092 274.4);
Tailwind
colors: {
  custom: {
    50: '#544c75',
    500: '#0d0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d3f;
$custom-light: #544c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d3f",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20237,
    "c": 0.09194,
    "h": 274.4
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#0D0D3F
secondary
#7B7B2D
accent
#E93FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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