#0D043F#0D043F

#0D043F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.103 H 277.4°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#0D043F
RGBrgb(13, 4, 63)
HSLhsl(249, 88%, 13%)
HSVhsv(249, 94%, 25%)
CMYKcmyk(79.4%, 93.7%, 0%, 75.3%)
CIE-LABlab(4.80, 23.67, -34.53)
CIE-LCHlch(4.80, 41.86, 304.43°)
OKLaboklab(18.63% 0.0133 -0.1025)
OKLCHoklch(18.63% 0.103 277.4)
XYZxyz(1.1063, 0.5312, 4.7459)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D043F #363F04
analogous
#04183F #0D043F #2A043F
triadic
#0D043F #3F0D04 #043F0D
tetradic
#0D043F #3F0418 #363F04 #043F2A
square
#0D043F #3F0418 #363F04 #043F2A
split-complementary
#0D043F #3F2A04 #183F04
monochromatic
#06021D #06021D #0D043F #190879 #250BB2

Accessibility & contrast

On white

18.98
#0D043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D043F
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D043F#FFFFFF#000000##FFFFFF
##0D043F1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d043f;
/* rgb */ color: rgb(13, 4, 63);
/* oklch */ color: oklch(18.6% 0.103 277.4);
Tailwind
colors: {
  custom: {
    50: '#554775',
    500: '#0d043f',
    950: '#000000',
  },
}
SCSS
$custom: #0d043f;
$custom-light: #554775;
$custom-dark: #000000;
JSON
{
  "hex": "#0d043f",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 249.153,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18631,
    "c": 0.10337,
    "h": 277.4
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#0D043F
secondary
#71801E
accent
#FE2ADE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D043F

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

Preview Lab → · Contrast checker → · Palette generator →

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