#0D184F#0D184F

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

Color values

HEX#0D184F
RGBrgb(13, 24, 79)
HSLhsl(230, 72%, 18%)
HSVhsv(230, 84%, 31%)
CMYKcmyk(83.5%, 69.6%, 0%, 69%)
CIE-LABlab(11.30, 18.12, -35.09)
CIE-LCHlch(11.30, 39.49, 297.31°)
OKLaboklab(24.24% -0.0025 -0.1015)
OKLCHoklch(24.24% 0.102 268.6)
XYZxyz(1.9034, 1.3031, 7.5468)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D184F #4F440D
analogous
#0D394F #0D184F #230D4F
triadic
#0D184F #4F0D18 #184F0D
tetradic
#0D184F #4F0D39 #4F440D #0D4F23
square
#0D184F #4F0D39 #4F440D #0D4F23
split-complementary
#0D184F #4F230D #394F0D
monochromatic
#04081A #04081A #0D184F #162884 #1E38B8

Accessibility & contrast

On white

16.66
#0D184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D184F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D184F#FFFFFF#000000##FFFFFF
##0D184F1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d184f;
/* rgb */ color: rgb(13, 24, 79);
/* oklch */ color: oklch(24.2% 0.102 268.6);
Tailwind
colors: {
  custom: {
    50: '#585481',
    500: '#0d184f',
    950: '#000000',
  },
}
SCSS
$custom: #0d184f;
$custom-light: #585481;
$custom-dark: #000000;
JSON
{
  "hex": "#0d184f",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 230,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24242,
    "c": 0.10151,
    "h": 268.6
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#0D184F
secondary
#8A7B2E
accent
#D039EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D184F

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

Preview Lab → · Contrast checker → · Palette generator →

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