#0D0941#0D0941

#0D0941 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.100 H 275.4°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0D0941
RGBrgb(13, 9, 65)
HSLhsl(244, 76%, 15%)
HSVhsv(244, 86%, 25%)
CMYKcmyk(80%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.98, 22.23, -34.02)
CIE-LCHlch(5.98, 40.64, 303.16°)
OKLaboklab(19.78% 0.0094 -0.0993)
OKLCHoklch(19.78% 0.1 275.4)
XYZxyz(1.2175, 0.6625, 5.0637)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0941 #3D4109
analogous
#092141 #0D0941 #290941
triadic
#0D0941 #410D09 #09410D
tetradic
#0D0941 #410921 #3D4109 #094129
square
#0D0941 #410921 #3D4109 #094129
split-complementary
#0D0941 #412909 #214109
monochromatic
#05041B #05041B #0D0941 #181077 #2318AD

Accessibility & contrast

On white

18.54
#0D0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0941
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0941#FFFFFF#000000##FFFFFF
##0D09411.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0941;
/* rgb */ color: rgb(13, 9, 65);
/* oklch */ color: oklch(19.8% 0.100 275.4);
Tailwind
colors: {
  custom: {
    50: '#554a76',
    500: '#0d0941',
    950: '#000000',
  },
}
SCSS
$custom: #0d0941;
$custom-light: #554a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0941",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 244.286,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19784,
    "c": 0.09979,
    "h": 275.4
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#0D0941
secondary
#797F27
accent
#F236E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0941

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

Preview Lab → · Contrast checker → · Palette generator →

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