#0D184A#0D184A

#0D184A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.094 H 268.6°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#0D184A
RGBrgb(13, 24, 74)
HSLhsl(229, 70%, 17%)
HSVhsv(229, 82%, 29%)
CMYKcmyk(82.4%, 67.6%, 0%, 71%)
CIE-LABlab(10.80, 15.96, -32.45)
CIE-LCHlch(10.80, 36.17, 296.19°)
OKLaboklab(23.72% -0.0024 -0.0937)
OKLCHoklch(23.72% 0.094 268.6)
XYZxyz(1.7282, 1.2331, 6.6242)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D184A #4A3F0D
analogous
#0D374A #0D184A #200D4A
triadic
#0D184A #4A0D18 #184A0D
tetradic
#0D184A #4A0D37 #4A3F0D #0D4A20
square
#0D184A #4A0D37 #4A3F0D #0D4A20
split-complementary
#0D184A #4A200D #374A0D
monochromatic
#05081A #05081A #0D184A #16297E #1F3AB2

Accessibility & contrast

On white

16.85
#0D184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D184A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D184A#FFFFFF#000000##FFFFFF
##0D184A1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d184a;
/* rgb */ color: rgb(13, 24, 74);
/* oklch */ color: oklch(23.7% 0.094 268.6);
Tailwind
colors: {
  custom: {
    50: '#57547d',
    500: '#0d184a',
    950: '#000000',
  },
}
SCSS
$custom: #0d184a;
$custom-light: #57547d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d184a",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 229.18,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23719,
    "c": 0.09378,
    "h": 268.6
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#0D184A
secondary
#85752E
accent
#CD3BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D184A

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

Preview Lab → · Contrast checker → · Palette generator →

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