#0D043B#0D043B

#0D043B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.098 H 278.7°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#0D043B
RGBrgb(13, 4, 59)
HSLhsl(250, 87%, 12%)
HSVhsv(250, 93%, 23%)
CMYKcmyk(78%, 93.2%, 0%, 76.9%)
CIE-LABlab(4.41, 21.54, -32.27)
CIE-LCHlch(4.41, 38.80, 303.72°)
OKLaboklab(18.08% 0.0149 -0.0968)
OKLCHoklch(18.08% 0.098 278.7)
XYZxyz(0.9986, 0.4881, 4.1784)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D043B #323B04
analogous
#04173B #0D043B #29043B
triadic
#0D043B #3B0D04 #043B0D
tetradic
#0D043B #3B0417 #323B04 #043B29
square
#0D043B #3B0417 #323B04 #043B29
split-complementary
#0D043B #3B2904 #173B04
monochromatic
#06021D #06021D #0D043B #1A0874 #260CAE

Accessibility & contrast

On white

19.13
#0D043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D043B
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D043B#FFFFFF#000000##FFFFFF
##0D043B1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000D3A
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d043b;
/* rgb */ color: rgb(13, 4, 59);
/* oklch */ color: oklch(18.1% 0.098 278.7);
Tailwind
colors: {
  custom: {
    50: '#534772',
    500: '#0d043b',
    950: '#000000',
  },
}
SCSS
$custom: #0d043b;
$custom-light: #534772;
$custom-dark: #000000;
JSON
{
  "hex": "#0d043b",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 249.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18082,
    "c": 0.09798,
    "h": 278.7
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#0D043B
secondary
#6D7D1E
accent
#FD2ADB
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0D043B

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

Preview Lab → · Contrast checker → · Palette generator →

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