#0D0F37#0D0F37

#0D0F37 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.076 H 274.7°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#0D0F37
RGBrgb(13, 15, 55)
HSLhsl(237, 62%, 13%)
HSVhsv(237, 76%, 22%)
CMYKcmyk(76.4%, 72.7%, 0%, 78.4%)
CIE-LABlab(6.35, 14.17, -26.22)
CIE-LCHlch(6.35, 29.80, 298.39°)
OKLaboklab(19.75% 0.0063 -0.0762)
OKLCHoklch(19.75% 0.076 274.7)
XYZxyz(1.0262, 0.7030, 3.6953)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F37 #37350D
analogous
#0D2437 #0D0F37 #200D37
triadic
#0D0F37 #370D0F #0F370D
tetradic
#0D0F37 #370D24 #37350D #0D3720
square
#0D0F37 #370D24 #37350D #0D3720
split-complementary
#0D0F37 #37200D #24370D
monochromatic
#060719 #060719 #0D0F37 #191C68 #242A9A

Accessibility & contrast

On white

18.41
#0D0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F37
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F37#FFFFFF#000000##FFFFFF
##0D0F371.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0f37;
/* rgb */ color: rgb(13, 15, 55);
/* oklch */ color: oklch(19.8% 0.076 274.7);
Tailwind
colors: {
  custom: {
    50: '#524d6e',
    500: '#0d0f37',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f37;
$custom-light: #524d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f37",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 237.143,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19752,
    "c": 0.07647,
    "h": 274.7
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#0D0F37
secondary
#726F2D
accent
#DD43E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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