#0D073C#0D073C

#0D073C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.095 H 277.4°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0D073C
RGBrgb(13, 7, 60)
HSLhsl(247, 79%, 13%)
HSVhsv(247, 88%, 24%)
CMYKcmyk(78.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(5.09, 20.70, -31.89)
CIE-LCHlch(5.09, 38.02, 302.99°)
OKLaboklab(18.79% 0.0122 -0.0944)
OKLCHoklch(18.79% 0.095 277.4)
XYZxyz(1.0573, 0.5637, 4.3272)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D073C #363C07
analogous
#071B3C #0D073C #27073C
triadic
#0D073C #3C0D07 #073C0D
tetradic
#0D073C #3C071B #363C07 #073C27
square
#0D073C #3C071B #363C07 #073C27
split-complementary
#0D073C #3C2707 #1B3C07
monochromatic
#06031B #06031B #0D073C #190D73 #2514AA

Accessibility & contrast

On white

18.87
#0D073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D073C
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D073C#FFFFFF#000000##FFFFFF
##0D073C1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d073c;
/* rgb */ color: rgb(13, 7, 60);
/* oklch */ color: oklch(18.8% 0.095 277.4);
Tailwind
colors: {
  custom: {
    50: '#544972',
    500: '#0d073c',
    950: '#000000',
  },
}
SCSS
$custom: #0d073c;
$custom-light: #544972;
$custom-dark: #000000;
JSON
{
  "hex": "#0d073c",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 246.792,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18793,
    "c": 0.09514,
    "h": 277.4
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#0D073C
secondary
#717B23
accent
#F632DF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D073C

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

Preview Lab → · Contrast checker → · Palette generator →

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