#0D0942#0D0942

#0D0942 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.101 H 275.2°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#0D0942
RGBrgb(13, 9, 66)
HSLhsl(244, 76%, 15%)
HSVhsv(244, 86%, 26%)
CMYKcmyk(80.3%, 86.4%, 0%, 74.1%)
CIE-LABlab(6.09, 22.70, -34.56)
CIE-LCHlch(6.09, 41.35, 303.30°)
OKLaboklab(19.91% 0.0091 -0.1008)
OKLCHoklch(19.91% 0.101 275.2)
XYZxyz(1.2467, 0.6742, 5.2176)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0942 #3E4209
analogous
#092142 #0D0942 #2A0942
triadic
#0D0942 #420D09 #09420D
tetradic
#0D0942 #420921 #3E4209 #09422A
square
#0D0942 #420921 #3E4209 #09422A
split-complementary
#0D0942 #422A09 #214209
monochromatic
#05041B #05041B #0D0942 #181078 #2218AE

Accessibility & contrast

On white

18.51
#0D0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0942
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0942#FFFFFF#000000##FFFFFF
##0D09421.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0942;
/* rgb */ color: rgb(13, 9, 66);
/* oklch */ color: oklch(19.9% 0.101 275.2);
Tailwind
colors: {
  custom: {
    50: '#564a77',
    500: '#0d0942',
    950: '#000000',
  },
}
SCSS
$custom: #0d0942;
$custom-light: #564a77;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0942",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 244.211,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19911,
    "c": 0.10122,
    "h": 275.2
  },
  "luminance": 0.00674
}

Semantic roles & 50–950 ramp

primary
#0D0942
secondary
#7A8027
accent
#F335E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0942

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

Preview Lab → · Contrast checker → · Palette generator →

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