#0D1B45#0D1B45

#0D1B45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.081 H 266.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#0D1B45
RGBrgb(13, 27, 69)
HSLhsl(225, 68%, 16%)
HSVhsv(225, 81%, 27%)
CMYKcmyk(81.2%, 60.9%, 0%, 72.9%)
CIE-LABlab(11.27, 11.45, -28.21)
CIE-LCHlch(11.27, 30.45, 292.09°)
OKLaboklab(23.93% -0.0052 -0.0812)
OKLCHoklch(23.93% 0.081 266.3)
XYZxyz(1.6317, 1.2989, 5.7938)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1B45 #45370D
analogous
#0D3745 #0D1B45 #1B0D45
triadic
#0D1B45 #450D1B #1B450D
tetradic
#0D1B45 #450D37 #45370D #0D451B
square
#0D1B45 #450D37 #45370D #0D451B
split-complementary
#0D1B45 #451B0D #37450D
monochromatic
#050A1A #050A1A #0D1B45 #172F78 #2043AC

Accessibility & contrast

On white

16.67
#0D1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0D1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1B45
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1B45#FFFFFF#000000##FFFFFF
##0D1B451.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002146
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1b45;
/* rgb */ color: rgb(13, 27, 69);
/* oklch */ color: oklch(23.9% 0.081 266.3);
Tailwind
colors: {
  custom: {
    50: '#555679',
    500: '#0d1b45',
    950: '#000000',
  },
}
SCSS
$custom: #0d1b45;
$custom-light: #555679;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1b45",
  "rgb": {
    "r": 13,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 225,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23926,
    "c": 0.08141,
    "h": 266.3
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#0D1B45
secondary
#806C2D
accent
#C03DEB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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