#0D0938#0D0938

#0D0938 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.087 H 277.7°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#0D0938
RGBrgb(13, 9, 56)
HSLhsl(245, 72%, 13%)
HSVhsv(245, 84%, 22%)
CMYKcmyk(76.8%, 83.9%, 0%, 78%)
CIE-LABlab(5.12, 17.70, -28.94)
CIE-LCHlch(5.12, 33.93, 301.45°)
OKLaboklab(18.67% 0.0117 -0.0858)
OKLCHoklch(18.67% 0.087 277.7)
XYZxyz(0.9772, 0.5664, 3.7984)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0938 #343809
analogous
#091D38 #0D0938 #240938
triadic
#0D0938 #380D09 #09380D
tetradic
#0D0938 #38091D #343809 #093824
square
#0D0938 #38091D #343809 #093824
split-complementary
#0D0938 #382409 #1D3809
monochromatic
#06041A #06041A #0D0938 #19116D #251AA1

Accessibility & contrast

On white

18.86
#0D0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0938
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0938#FFFFFF#000000##FFFFFF
##0D09381.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0938;
/* rgb */ color: rgb(13, 9, 56);
/* oklch */ color: oklch(18.7% 0.087 277.7);
Tailwind
colors: {
  custom: {
    50: '#524a6f',
    500: '#0d0938',
    950: '#000000',
  },
}
SCSS
$custom: #0d0938;
$custom-light: #524a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0938",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 245.106,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18668,
    "c": 0.08655,
    "h": 277.7
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#0D0938
secondary
#6F7627
accent
#EF39E0
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0938

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

Preview Lab → · Contrast checker → · Palette generator →

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