#0D1945#0D1945

#0D1945 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.084 H 267.7°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#0D1945
RGBrgb(13, 25, 69)
HSLhsl(227, 68%, 16%)
HSVhsv(227, 81%, 27%)
CMYKcmyk(81.2%, 63.8%, 0%, 72.9%)
CIE-LABlab(10.63, 13.01, -29.24)
CIE-LCHlch(10.63, 32.01, 293.98°)
OKLaboklab(23.45% -0.0033 -0.0843)
OKLCHoklch(23.45% 0.084 267.7)
XYZxyz(1.5874, 1.2103, 5.7790)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1945 #45390D
analogous
#0D3545 #0D1945 #1D0D45
triadic
#0D1945 #450D19 #19450D
tetradic
#0D1945 #450D35 #45390D #0D451D
square
#0D1945 #450D35 #45390D #0D451D
split-complementary
#0D1945 #451D0D #35450D
monochromatic
#05091A #05091A #0D1945 #172C78 #203EAC

Accessibility & contrast

On white

16.91
#0D1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0D1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1945
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1945#FFFFFF#000000##FFFFFF
##0D19451.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1945;
/* rgb */ color: rgb(13, 25, 69);
/* oklch */ color: oklch(23.4% 0.084 267.7);
Tailwind
colors: {
  custom: {
    50: '#555579',
    500: '#0d1945',
    950: '#000000',
  },
}
SCSS
$custom: #0d1945;
$custom-light: #555579;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1945",
  "rgb": {
    "r": 13,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 227.143,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23448,
    "c": 0.08437,
    "h": 267.7
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#0D1945
secondary
#806F2D
accent
#C63DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1945

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

Preview Lab → · Contrast checker → · Palette generator →

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