#0D0747#0D0747

#0D0747 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.110 H 274.5°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#0D0747
RGBrgb(13, 7, 71)
HSLhsl(246, 82%, 15%)
HSVhsv(246, 90%, 28%)
CMYKcmyk(81.7%, 90.1%, 0%, 72.2%)
CIE-LABlab(6.25, 26.03, -37.83)
CIE-LCHlch(6.25, 45.92, 304.53°)
OKLaboklab(20.24% 0.0088 -0.1101)
OKLCHoklch(20.24% 0.11 274.5)
XYZxyz(1.3789, 0.6923, 6.0210)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0747 #414707
analogous
#072147 #0D0747 #2D0747
triadic
#0D0747 #470D07 #07470D
tetradic
#0D0747 #470721 #414707 #07472D
square
#0D0747 #470721 #414707 #07472D
split-complementary
#0D0747 #472D07 #214707
monochromatic
#05031C #05031C #0D0747 #170C7F #2112B6

Accessibility & contrast

On white

18.45
#0D0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0747
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0747#FFFFFF#000000##FFFFFF
##0D07471.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001146
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0747;
/* rgb */ color: rgb(13, 7, 71);
/* oklch */ color: oklch(20.2% 0.110 274.5);
Tailwind
colors: {
  custom: {
    50: '#58497b',
    500: '#0d0747',
    950: '#000000',
  },
}
SCSS
$custom: #0d0747;
$custom-light: #58497b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0747",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 245.625,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20241,
    "c": 0.11046,
    "h": 274.5
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#0D0747
secondary
#7D8624
accent
#F82FE6
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0D0747

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

Preview Lab → · Contrast checker → · Palette generator →

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