#0D0937#0D0937

#0D0937 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.085 H 278.0°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0D0937
RGBrgb(13, 9, 55)
HSLhsl(245, 72%, 13%)
HSVhsv(245, 84%, 22%)
CMYKcmyk(76.4%, 83.6%, 0%, 78.4%)
CIE-LABlab(5.03, 17.18, -28.35)
CIE-LCHlch(5.03, 33.15, 301.21°)
OKLaboklab(18.55% 0.0119 -0.0842)
OKLCHoklch(18.55% 0.085 278)
XYZxyz(0.9530, 0.5567, 3.6709)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0937 #333709
analogous
#091C37 #0D0937 #240937
triadic
#0D0937 #370D09 #09370D
tetradic
#0D0937 #37091C #333709 #093724
square
#0D0937 #37091C #333709 #093724
split-complementary
#0D0937 #372409 #1C3709
monochromatic
#06041A #06041A #0D0937 #19126C #261AA0

Accessibility & contrast

On white

18.90
#0D0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0937
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0937#FFFFFF#000000##FFFFFF
##0D09371.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0937;
/* rgb */ color: rgb(13, 9, 55);
/* oklch */ color: oklch(18.5% 0.085 278.0);
Tailwind
colors: {
  custom: {
    50: '#524a6e',
    500: '#0d0937',
    950: '#000000',
  },
}
SCSS
$custom: #0d0937;
$custom-light: #524a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0937",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 245.217,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18547,
    "c": 0.08503,
    "h": 278
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#0D0937
secondary
#6E7527
accent
#EF39DF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0937

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

Preview Lab → · Contrast checker → · Palette generator →

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