#0D0F47#0D0F47

#0D0F47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.101 H 272.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0D0F47
RGBrgb(13, 15, 71)
HSLhsl(238, 69%, 16%)
HSVhsv(238, 82%, 28%)
CMYKcmyk(81.7%, 78.9%, 0%, 72.2%)
CIE-LABlab(7.97, 21.38, -35.01)
CIE-LCHlch(7.97, 41.02, 301.41°)
OKLaboklab(21.55% 0.0044 -0.1013)
OKLCHoklch(21.55% 0.101 272.5)
XYZxyz(1.4738, 0.8820, 6.0526)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F47 #47450D
analogous
#0D2C47 #0D0F47 #280D47
triadic
#0D0F47 #470D0F #0F470D
tetradic
#0D0F47 #470D2C #47450D #0D4728
square
#0D0F47 #470D2C #47450D #0D4728
split-complementary
#0D0F47 #47280D #2C470D
monochromatic
#05051A #05051A #0D0F47 #161A7B #2025AE

Accessibility & contrast

On white

17.85
#0D0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F47
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F47#FFFFFF#000000##FFFFFF
##0D0F471.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d0f47;
/* rgb */ color: rgb(13, 15, 71);
/* oklch */ color: oklch(21.6% 0.101 272.5);
Tailwind
colors: {
  custom: {
    50: '#574d7b',
    500: '#0d0f47',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f47;
$custom-light: #574d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f47",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 237.931,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.10138,
    "h": 272.5
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#0D0F47
secondary
#827F2D
accent
#E63CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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