#0D0F39#0D0F39

#0D0F39 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.080 H 274.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#0D0F39
RGBrgb(13, 15, 57)
HSLhsl(237, 63%, 14%)
HSVhsv(237, 77%, 22%)
CMYKcmyk(77.2%, 73.7%, 0%, 77.6%)
CIE-LABlab(6.53, 15.14, -27.39)
CIE-LCHlch(6.53, 31.29, 298.94°)
OKLaboklab(19.97% 0.0062 -0.0795)
OKLCHoklch(19.97% 0.08 274.4)
XYZxyz(1.0751, 0.7225, 3.9529)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F39 #39370D
analogous
#0D2539 #0D0F39 #210D39
triadic
#0D0F39 #390D0F #0F390D
tetradic
#0D0F39 #390D25 #39370D #0D3921
square
#0D0F39 #390D25 #39370D #0D3921
split-complementary
#0D0F39 #39210D #25390D
monochromatic
#060719 #060719 #0D0F39 #181C6B #24299D

Accessibility & contrast

On white

18.35
#0D0F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F39
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F39#FFFFFF#000000##FFFFFF
##0D0F391.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0f39;
/* rgb */ color: rgb(13, 15, 57);
/* oklch */ color: oklch(20.0% 0.080 274.4);
Tailwind
colors: {
  custom: {
    50: '#524d70',
    500: '#0d0f39',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f39;
$custom-light: #524d70;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f39",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 237.273,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19965,
    "c": 0.07973,
    "h": 274.4
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#0D0F39
secondary
#74712D
accent
#DE42E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0F39

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

Preview Lab → · Contrast checker → · Palette generator →

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