#0D184C#0D184C

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

Color values

HEX#0D184C
RGBrgb(13, 24, 76)
HSLhsl(230, 71%, 17%)
HSVhsv(230, 83%, 30%)
CMYKcmyk(82.9%, 68.4%, 0%, 70.2%)
CIE-LABlab(11.00, 16.83, -33.52)
CIE-LCHlch(11.00, 37.51, 296.67°)
OKLaboklab(23.93% -0.0024 -0.0969)
OKLCHoklch(23.93% 0.097 268.6)
XYZxyz(1.7967, 1.2604, 6.9847)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D184C #4C410D
analogous
#0D374C #0D184C #220D4C
triadic
#0D184C #4C0D18 #184C0D
tetradic
#0D184C #4C0D37 #4C410D #0D4C22
square
#0D184C #4C0D37 #4C410D #0D4C22
split-complementary
#0D184C #4C220D #374C0D
monochromatic
#04081A #04081A #0D184C #162980 #1F39B5

Accessibility & contrast

On white

16.77
#0D184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D184C
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D184C#FFFFFF#000000##FFFFFF
##0D184C1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d184c;
/* rgb */ color: rgb(13, 24, 76);
/* oklch */ color: oklch(23.9% 0.097 268.6);
Tailwind
colors: {
  custom: {
    50: '#57547f',
    500: '#0d184c',
    950: '#000000',
  },
}
SCSS
$custom: #0d184c;
$custom-light: #57547f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d184c",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 229.524,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23926,
    "c": 0.0969,
    "h": 268.6
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#0D184C
secondary
#87782E
accent
#CE3AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D184C

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

Preview Lab → · Contrast checker → · Palette generator →

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