#0D183D#0D183D

#0D183D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.073 H 267.7°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#0D183D
RGBrgb(13, 24, 61)
HSLhsl(226, 65%, 15%)
HSVhsv(226, 79%, 24%)
CMYKcmyk(78.7%, 60.7%, 0%, 76.1%)
CIE-LABlab(9.61, 10.26, -25.26)
CIE-LCHlch(9.61, 27.26, 292.10°)
OKLaboklab(22.45% -0.0029 -0.0726)
OKLCHoklch(22.45% 0.073 267.7)
XYZxyz(1.3346, 1.0756, 4.5513)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D183D #3D320D
analogous
#0D303D #0D183D #1A0D3D
triadic
#0D183D #3D0D18 #183D0D
tetradic
#0D183D #3D0D30 #3D320D #0D3D1A
square
#0D183D #3D0D30 #3D320D #0D3D1A
split-complementary
#0D183D #3D1A0D #303D0D
monochromatic
#050A19 #050A19 #0D183D #182C6F #2340A2

Accessibility & contrast

On white

17.28
#0D183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D183D
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D183D#FFFFFF#000000##FFFFFF
##0D183D1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d183d;
/* rgb */ color: rgb(13, 24, 61);
/* oklch */ color: oklch(22.5% 0.073 267.7);
Tailwind
colors: {
  custom: {
    50: '#535473',
    500: '#0d183d',
    950: '#000000',
  },
}
SCSS
$custom: #0d183d;
$custom-light: #535473;
$custom-dark: #000000;
JSON
{
  "hex": "#0d183d",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 226.25,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22452,
    "c": 0.07267,
    "h": 267.7
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#0D183D
secondary
#79672D
accent
#C140E8
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D183D

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

Preview Lab → · Contrast checker → · Palette generator →

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