#0D183C#0D183C

#0D183C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.071 H 267.6°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0D183C
RGBrgb(13, 24, 60)
HSLhsl(226, 64%, 14%)
HSVhsv(226, 78%, 24%)
CMYKcmyk(78.3%, 60%, 0%, 76.5%)
CIE-LABlab(9.52, 9.81, -24.68)
CIE-LCHlch(9.52, 26.56, 291.67°)
OKLaboklab(22.36% -0.003 -0.0709)
OKLCHoklch(22.36% 0.071 267.6)
XYZxyz(1.3079, 1.0650, 4.4107)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D183C #3C310D
analogous
#0D303C #0D183C #1A0D3C
triadic
#0D183C #3C0D18 #183C0D
tetradic
#0D183C #3C0D30 #3C310D #0D3C1A
square
#0D183C #3C0D30 #3C310D #0D3C1A
split-complementary
#0D183C #3C1A0D #303C0D
monochromatic
#050A19 #050A19 #0D183C #182C6E #2340A1

Accessibility & contrast

On white

17.31
#0D183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D183C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D183C#FFFFFF#000000##FFFFFF
##0D183C1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d183c;
/* rgb */ color: rgb(13, 24, 60);
/* oklch */ color: oklch(22.4% 0.071 267.6);
Tailwind
colors: {
  custom: {
    50: '#535472',
    500: '#0d183c',
    950: '#000000',
  },
}
SCSS
$custom: #0d183c;
$custom-light: #535472;
$custom-dark: #000000;
JSON
{
  "hex": "#0d183c",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 225.957,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22361,
    "c": 0.07098,
    "h": 267.6
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#0D183C
secondary
#78662D
accent
#C040E7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0D183C

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

Preview Lab → · Contrast checker → · Palette generator →

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