#0D0738#0D0738

#0D0738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.089 H 278.6°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#0D0738
RGBrgb(13, 7, 56)
HSLhsl(247, 78%, 12%)
HSVhsv(247, 88%, 22%)
CMYKcmyk(76.8%, 87.5%, 0%, 78%)
CIE-LABlab(4.72, 18.58, -29.58)
CIE-LCHlch(4.72, 34.93, 302.14°)
OKLaboklab(18.28% 0.0134 -0.0883)
OKLCHoklch(18.28% 0.089 278.6)
XYZxyz(0.9555, 0.5230, 3.7912)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0738 #323807
analogous
#071A38 #0D0738 #260738
triadic
#0D0738 #380D07 #07380D
tetradic
#0D0738 #38071A #323807 #073826
square
#0D0738 #38071A #323807 #073826
split-complementary
#0D0738 #382607 #1A3807
monochromatic
#06031B #06031B #0D0738 #1A0E6E #2615A5

Accessibility & contrast

On white

19.01
#0D0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0738
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0738#FFFFFF#000000##FFFFFF
##0D07381.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0738;
/* rgb */ color: rgb(13, 7, 56);
/* oklch */ color: oklch(18.3% 0.089 278.6);
Tailwind
colors: {
  custom: {
    50: '#52496f',
    500: '#0d0738',
    950: '#000000',
  },
}
SCSS
$custom: #0d0738;
$custom-light: #52496f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0738",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 247.347,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18284,
    "c": 0.08936,
    "h": 278.6
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#0D0738
secondary
#6D7823
accent
#F434DD
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0D0738

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

Preview Lab → · Contrast checker → · Palette generator →

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