#0D184E#0D184E

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

Color values

HEX#0D184E
RGBrgb(13, 24, 78)
HSLhsl(230, 71%, 18%)
HSVhsv(230, 83%, 31%)
CMYKcmyk(83.3%, 69.2%, 0%, 69.4%)
CIE-LABlab(11.20, 17.69, -34.57)
CIE-LCHlch(11.20, 38.83, 297.10°)
OKLaboklab(24.14% -0.0024 -0.0999)
OKLCHoklch(24.14% 0.1 268.6)
XYZxyz(1.8673, 1.2887, 7.3566)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D184E #4E430D
analogous
#0D384E #0D184E #220D4E
triadic
#0D184E #4E0D18 #184E0D
tetradic
#0D184E #4E0D38 #4E430D #0D4E22
square
#0D184E #4E0D38 #4E430D #0D4E22
split-complementary
#0D184E #4E220D #384E0D
monochromatic
#04081A #04081A #0D184E #162882 #1E38B7

Accessibility & contrast

On white

16.70
#0D184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D184E
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D184E#FFFFFF#000000##FFFFFF
##0D184E1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d184e;
/* rgb */ color: rgb(13, 24, 78);
/* oklch */ color: oklch(24.1% 0.100 268.6);
Tailwind
colors: {
  custom: {
    50: '#585480',
    500: '#0d184e',
    950: '#000000',
  },
}
SCSS
$custom: #0d184e;
$custom-light: #585480;
$custom-dark: #000000;
JSON
{
  "hex": "#0d184e",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 229.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24136,
    "c": 0.09998,
    "h": 268.6
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#0D184E
secondary
#897A2E
accent
#D03AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D184E

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

Preview Lab → · Contrast checker → · Palette generator →

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