#0D1946#0D1946

#0D1946 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.086 H 267.8°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0D1946
RGBrgb(13, 25, 70)
HSLhsl(227, 69%, 16%)
HSVhsv(227, 81%, 27%)
CMYKcmyk(81.4%, 64.3%, 0%, 72.5%)
CIE-LABlab(10.73, 13.45, -29.79)
CIE-LCHlch(10.73, 32.69, 294.29°)
OKLaboklab(23.55% -0.0033 -0.0859)
OKLCHoklch(23.55% 0.086 267.8)
XYZxyz(1.6187, 1.2229, 5.9439)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1946 #463A0D
analogous
#0D3646 #0D1946 #1E0D46
triadic
#0D1946 #460D19 #19460D
tetradic
#0D1946 #460D36 #463A0D #0D461E
square
#0D1946 #460D36 #463A0D #0D461E
split-complementary
#0D1946 #461E0D #36460D
monochromatic
#05091A #05091A #0D1946 #172B7A #203EAD

Accessibility & contrast

On white

16.87
#0D1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1946
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1946#FFFFFF#000000##FFFFFF
##0D19461.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1946;
/* rgb */ color: rgb(13, 25, 70);
/* oklch */ color: oklch(23.5% 0.086 267.8);
Tailwind
colors: {
  custom: {
    50: '#55557a',
    500: '#0d1946',
    950: '#000000',
  },
}
SCSS
$custom: #0d1946;
$custom-light: #55557a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1946",
  "rgb": {
    "r": 13,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 227.368,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23546,
    "c": 0.08598,
    "h": 267.8
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#0D1946
secondary
#81702D
accent
#C73CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1946

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

Preview Lab → · Contrast checker → · Palette generator →

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