#0D0947#0D0947

#0D0947 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.6% C 0.108 H 274.1°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#0D0947
RGBrgb(13, 9, 71)
HSLhsl(244, 78%, 16%)
HSVhsv(244, 87%, 28%)
CMYKcmyk(81.7%, 87.3%, 0%, 72.2%)
CIE-LABlab(6.65, 24.97, -37.18)
CIE-LCHlch(6.65, 44.79, 303.89°)
OKLaboklab(20.56% 0.0078 -0.108)
OKLCHoklch(20.56% 0.108 274.1)
XYZxyz(1.4006, 0.7357, 6.0282)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0947 #434709
analogous
#092447 #0D0947 #2C0947
triadic
#0D0947 #470D09 #09470D
tetradic
#0D0947 #470924 #434709 #09472C
square
#0D0947 #470924 #434709 #09472C
split-complementary
#0D0947 #472C09 #244709
monochromatic
#05031B #05031B #0D0947 #17107D #2117B4

Accessibility & contrast

On white

18.31
#0D0947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0947
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0947#FFFFFF#000000##FFFFFF
##0D09471.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0947;
/* rgb */ color: rgb(13, 9, 71);
/* oklch */ color: oklch(20.6% 0.108 274.1);
Tailwind
colors: {
  custom: {
    50: '#574a7b',
    500: '#0d0947',
    950: '#000000',
  },
}
SCSS
$custom: #0d0947;
$custom-light: #574a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0947",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 243.871,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20556,
    "c": 0.10825,
    "h": 274.1
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#0D0947
secondary
#7E8427
accent
#F434E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0947

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

Preview Lab → · Contrast checker → · Palette generator →

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