#0D184D#0D184D

#0D184D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.098 H 268.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#0D184D
RGBrgb(13, 24, 77)
HSLhsl(230, 71%, 18%)
HSVhsv(230, 83%, 30%)
CMYKcmyk(83.1%, 68.8%, 0%, 69.8%)
CIE-LABlab(11.10, 17.26, -34.04)
CIE-LCHlch(11.10, 38.17, 296.88°)
OKLaboklab(24.03% -0.0024 -0.0984)
OKLCHoklch(24.03% 0.098 268.6)
XYZxyz(1.8317, 1.2745, 7.1692)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D184D #4D420D
analogous
#0D384D #0D184D #220D4D
triadic
#0D184D #4D0D18 #184D0D
tetradic
#0D184D #4D0D38 #4D420D #0D4D22
square
#0D184D #4D0D38 #4D420D #0D4D22
split-complementary
#0D184D #4D220D #384D0D
monochromatic
#04081A #04081A #0D184D #162881 #1F39B6

Accessibility & contrast

On white

16.73
#0D184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D184D
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D184D#FFFFFF#000000##FFFFFF
##0D184D1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d184d;
/* rgb */ color: rgb(13, 24, 77);
/* oklch */ color: oklch(24.0% 0.098 268.6);
Tailwind
colors: {
  custom: {
    50: '#58547f',
    500: '#0d184d',
    950: '#000000',
  },
}
SCSS
$custom: #0d184d;
$custom-light: #58547f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d184d",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 229.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24031,
    "c": 0.09844,
    "h": 268.6
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#0D184D
secondary
#88792E
accent
#CF3AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D184D

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

Preview Lab → · Contrast checker → · Palette generator →

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