#0D1B41#0D1B41

#0D1B41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.075 H 265.7°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#0D1B41
RGBrgb(13, 27, 65)
HSLhsl(224, 67%, 15%)
HSVhsv(224, 80%, 25%)
CMYKcmyk(80%, 58.5%, 0%, 74.5%)
CIE-LABlab(10.93, 9.67, -25.96)
CIE-LCHlch(10.93, 27.70, 290.44°)
OKLaboklab(23.56% -0.0056 -0.0746)
OKLCHoklch(23.56% 0.075 265.7)
XYZxyz(1.5117, 1.2509, 5.1618)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1B41 #41330D
analogous
#0D3541 #0D1B41 #190D41
triadic
#0D1B41 #410D1B #1B410D
tetradic
#0D1B41 #410D35 #41330D #0D4119
square
#0D1B41 #410D35 #41330D #0D4119
split-complementary
#0D1B41 #41190D #35410D
monochromatic
#050B1A #050B1A #0D1B41 #173074 #2145A7

Accessibility & contrast

On white

16.80
#0D1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1B41
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1B41#FFFFFF#000000##FFFFFF
##0D1B411.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1b41;
/* rgb */ color: rgb(13, 27, 65);
/* oklch */ color: oklch(23.6% 0.075 265.7);
Tailwind
colors: {
  custom: {
    50: '#545676',
    500: '#0d1b41',
    950: '#000000',
  },
}
SCSS
$custom: #0d1b41;
$custom-light: #545676;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1b41",
  "rgb": {
    "r": 13,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 223.846,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2356,
    "c": 0.07481,
    "h": 265.7
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#0D1B41
secondary
#7D672D
accent
#BB3EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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