#0D0F46#0D0F46

#0D0F46 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.100 H 272.6°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#0D0F46
RGBrgb(13, 15, 70)
HSLhsl(238, 69%, 16%)
HSVhsv(238, 81%, 27%)
CMYKcmyk(81.4%, 78.6%, 0%, 72.5%)
CIE-LABlab(7.85, 20.96, -34.49)
CIE-LCHlch(7.85, 40.36, 301.29°)
OKLaboklab(21.44% 0.0046 -0.0998)
OKLCHoklch(21.44% 0.1 272.6)
XYZxyz(1.4419, 0.8693, 5.8850)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F46 #46440D
analogous
#0D2C46 #0D0F46 #280D46
triadic
#0D0F46 #460D0F #0F460D
tetradic
#0D0F46 #460D2C #46440D #0D4628
square
#0D0F46 #460D2C #46440D #0D4628
split-complementary
#0D0F46 #46280D #2C460D
monochromatic
#05061A #05061A #0D0F46 #171A7A #2025AD

Accessibility & contrast

On white

17.89
#0D0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F46
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F46#FFFFFF#000000##FFFFFF
##0D0F461.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d0f46;
/* rgb */ color: rgb(13, 15, 70);
/* oklch */ color: oklch(21.4% 0.100 272.6);
Tailwind
colors: {
  custom: {
    50: '#574d7a',
    500: '#0d0f46',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f46;
$custom-light: #574d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f46",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 237.895,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21435,
    "c": 0.09988,
    "h": 272.6
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#0D0F46
secondary
#817E2D
accent
#E53CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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