#0D1F45#0D1F45

#0D1F45 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.075 H 263.0°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0D1F45
RGBrgb(13, 31, 69)
HSLhsl(221, 68%, 16%)
HSVhsv(221, 81%, 27%)
CMYKcmyk(81.2%, 55.1%, 0%, 72.9%)
CIE-LABlab(12.58, 8.35, -26.10)
CIE-LCHlch(12.58, 27.40, 287.73°)
OKLaboklab(24.92% -0.0092 -0.0749)
OKLCHoklch(24.92% 0.075 263)
XYZxyz(1.7298, 1.4950, 5.8265)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F45 #45330D
analogous
#0D3B45 #0D1F45 #170D45
triadic
#0D1F45 #450D1F #1F450D
tetradic
#0D1F45 #450D3B #45330D #0D4517
square
#0D1F45 #450D3B #45330D #0D4517
split-complementary
#0D1F45 #45170D #3B450D
monochromatic
#050C1A #050C1A #0D1F45 #173678 #204DAC

Accessibility & contrast

On white

16.17
#0D1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0D1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F45
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F45#FFFFFF#000000##FFFFFF
##0D1F451.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092346
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1f45;
/* rgb */ color: rgb(13, 31, 69);
/* oklch */ color: oklch(24.9% 0.075 263.0);
Tailwind
colors: {
  custom: {
    50: '#555a79',
    500: '#0d1f45',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f45;
$custom-light: #555a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f45",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 220.714,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24919,
    "c": 0.07549,
    "h": 263
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#0D1F45
secondary
#80662D
accent
#B33DEB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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