#0D0B4F#0D0B4F

#0D0B4F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.117 H 272.3°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#0D0B4F
RGBrgb(13, 11, 79)
HSLhsl(242, 76%, 18%)
HSVhsv(242, 86%, 31%)
CMYKcmyk(83.5%, 86.1%, 0%, 69%)
CIE-LABlab(8.03, 27.08, -40.47)
CIE-LCHlch(8.03, 48.70, 303.79°)
OKLaboklab(21.89% 0.0048 -0.1171)
OKLCHoklch(21.89% 0.117 272.3)
XYZxyz(1.6965, 0.8892, 7.4779)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B4F #4D4F0B
analogous
#0B2B4F #0D0B4F #2F0B4F
triadic
#0D0B4F #4F0D0B #0B4F0D
tetradic
#0D0B4F #4F0B2B #4D4F0B #0B4F2F
square
#0D0B4F #4F0B2B #4D4F0B #0B4F2F
split-complementary
#0D0B4F #4F2F0B #2B4F0B
monochromatic
#04041B #04041B #0D0B4F #161285 #1F1ABA

Accessibility & contrast

On white

17.83
#0D0B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D0B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B4F
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B4F#FFFFFF#000000##FFFFFF
##0D0B4F1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B51
Deuteranopia (green-blind)
#00144E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d0b4f;
/* rgb */ color: rgb(13, 11, 79);
/* oklch */ color: oklch(21.9% 0.117 272.3);
Tailwind
colors: {
  custom: {
    50: '#5a4b81',
    500: '#0d0b4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b4f;
$custom-light: #5a4b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b4f",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 241.765,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.21892,
    "c": 0.11722,
    "h": 272.3
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#0D0B4F
secondary
#888B2B
accent
#F236ED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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