#0D0740#0D0740

#0D0740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.101 H 276.2°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0D0740
RGBrgb(13, 7, 64)
HSLhsl(246, 80%, 14%)
HSVhsv(246, 89%, 25%)
CMYKcmyk(79.7%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.49, 22.73, -34.12)
CIE-LCHlch(5.49, 40.99, 303.67°)
OKLaboklab(19.31% 0.011 -0.1002)
OKLCHoklch(19.31% 0.101 276.2)
XYZxyz(1.1671, 0.6076, 4.9053)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0740 #3A4007
analogous
#071E40 #0D0740 #2A0740
triadic
#0D0740 #400D07 #07400D
tetradic
#0D0740 #40071E #3A4007 #07402A
square
#0D0740 #40071E #3A4007 #07402A
split-complementary
#0D0740 #402A07 #1E4007
monochromatic
#06031C #06031C #0D0740 #180D77 #2313AE

Accessibility & contrast

On white

18.72
#0D0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D0740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0740
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0740#FFFFFF#000000##FFFFFF
##0D07401.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0740;
/* rgb */ color: rgb(13, 7, 64);
/* oklch */ color: oklch(19.3% 0.101 276.2);
Tailwind
colors: {
  custom: {
    50: '#554976',
    500: '#0d0740',
    950: '#000000',
  },
}
SCSS
$custom: #0d0740;
$custom-light: #554976;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0740",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 246.316,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19312,
    "c": 0.10082,
    "h": 276.2
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#0D0740
secondary
#767F24
accent
#F731E2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D0740

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

Preview Lab → · Contrast checker → · Palette generator →

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