#0D0B40#0D0B40

#0D0B40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.096 H 275.0°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#0D0B40
RGBrgb(13, 11, 64)
HSLhsl(242, 71%, 15%)
HSVhsv(242, 83%, 25%)
CMYKcmyk(79.7%, 82.8%, 0%, 74.9%)
CIE-LABlab(6.28, 20.75, -32.82)
CIE-LCHlch(6.28, 38.83, 302.30°)
OKLaboklab(19.99% 0.0084 -0.0956)
OKLCHoklch(19.99% 0.096 275)
XYZxyz(1.2108, 0.6950, 4.9198)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B40 #3E400B
analogous
#0B2440 #0D0B40 #280B40
triadic
#0D0B40 #400D0B #0B400D
tetradic
#0D0B40 #400B24 #3E400B #0B4028
square
#0D0B40 #400B24 #3E400B #0B4028
split-complementary
#0D0B40 #40280B #24400B
monochromatic
#05041A #05041A #0D0B40 #181474 #221DA8

Accessibility & contrast

On white

18.44
#0D0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B40
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B40#FFFFFF#000000##FFFFFF
##0D0B401.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0b40;
/* rgb */ color: rgb(13, 11, 64);
/* oklch */ color: oklch(20.0% 0.096 275.0);
Tailwind
colors: {
  custom: {
    50: '#554b75',
    500: '#0d0b40',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b40;
$custom-light: #554b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b40",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 242.264,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19995,
    "c": 0.09597,
    "h": 275
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#0D0B40
secondary
#7A7D2A
accent
#ED3AE7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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