#0D0742#0D0742

#0D0742 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.104 H 275.7°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#0D0742
RGBrgb(13, 7, 66)
HSLhsl(246, 81%, 14%)
HSVhsv(246, 89%, 26%)
CMYKcmyk(80.3%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.70, 23.70, -35.20)
CIE-LCHlch(5.70, 42.44, 303.96°)
OKLaboklab(19.58% 0.0103 -0.1031)
OKLCHoklch(19.58% 0.104 275.7)
XYZxyz(1.2250, 0.6308, 5.2104)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0742 #3C4207
analogous
#071F42 #0D0742 #2B0742
triadic
#0D0742 #420D07 #07420D
tetradic
#0D0742 #42071F #3C4207 #07422B
square
#0D0742 #42071F #3C4207 #07422B
split-complementary
#0D0742 #422B07 #1F4207
monochromatic
#05031C #05031C #0D0742 #180D79 #2313B1

Accessibility & contrast

On white

18.65
#0D0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0742
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0742#FFFFFF#000000##FFFFFF
##0D07421.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0742;
/* rgb */ color: rgb(13, 7, 66);
/* oklch */ color: oklch(19.6% 0.104 275.7);
Tailwind
colors: {
  custom: {
    50: '#564977',
    500: '#0d0742',
    950: '#000000',
  },
}
SCSS
$custom: #0d0742;
$custom-light: #564977;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0742",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 246.102,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19575,
    "c": 0.10361,
    "h": 275.7
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#0D0742
secondary
#788124
accent
#F731E3
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0D0742

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

Preview Lab → · Contrast checker → · Palette generator →

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