#0D1F41#0D1F41

#0D1F41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.069 H 261.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#0D1F41
RGBrgb(13, 31, 65)
HSLhsl(219, 67%, 15%)
HSVhsv(219, 80%, 25%)
CMYKcmyk(80%, 52.3%, 0%, 74.5%)
CIE-LABlab(12.27, 6.56, -23.80)
CIE-LCHlch(12.27, 24.69, 285.42°)
OKLaboklab(24.58% -0.0099 -0.0682)
OKLCHoklch(24.58% 0.069 261.7)
XYZxyz(1.6098, 1.4470, 5.1945)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F41 #412F0D
analogous
#0D3941 #0D1F41 #150D41
triadic
#0D1F41 #410D1F #1F410D
tetradic
#0D1F41 #410D39 #412F0D #0D4115
square
#0D1F41 #410D39 #412F0D #0D4115
split-complementary
#0D1F41 #41150D #39410D
monochromatic
#050C1A #050C1A #0D1F41 #173774 #2150A7

Accessibility & contrast

On white

16.29
#0D1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D1F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F41
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F41#FFFFFF#000000##FFFFFF
##0D1F411.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2342
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1f41;
/* rgb */ color: rgb(13, 31, 65);
/* oklch */ color: oklch(24.6% 0.069 261.7);
Tailwind
colors: {
  custom: {
    50: '#545a76',
    500: '#0d1f41',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f41;
$custom-light: #545a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f41",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 219.231,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24583,
    "c": 0.0689,
    "h": 261.7
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#0D1F41
secondary
#7D612D
accent
#AE3EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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