#0D183B#0D183B

#0D183B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.069 H 267.4°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#0D183B
RGBrgb(13, 24, 59)
HSLhsl(226, 64%, 14%)
HSVhsv(226, 78%, 23%)
CMYKcmyk(78%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.44, 9.37, -24.11)
CIE-LCHlch(9.44, 25.86, 291.24°)
OKLaboklab(22.27% -0.0031 -0.0692)
OKLCHoklch(22.27% 0.069 267.4)
XYZxyz(1.2818, 1.0545, 4.2728)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D183B #3B300D
analogous
#0D2F3B #0D183B #190D3B
triadic
#0D183B #3B0D18 #183B0D
tetradic
#0D183B #3B0D2F #3B300D #0D3B19
square
#0D183B #3B0D2F #3B300D #0D3B19
split-complementary
#0D183B #3B190D #2F3B0D
monochromatic
#060A19 #060A19 #0D183B #182C6D #23419F

Accessibility & contrast

On white

17.34
#0D183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D183B
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D183B#FFFFFF#000000##FFFFFF
##0D183B1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d183b;
/* rgb */ color: rgb(13, 24, 59);
/* oklch */ color: oklch(22.3% 0.069 267.4);
Tailwind
colors: {
  custom: {
    50: '#525471',
    500: '#0d183b',
    950: '#000000',
  },
}
SCSS
$custom: #0d183b;
$custom-light: #525471;
$custom-dark: #000000;
JSON
{
  "hex": "#0d183b",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 225.652,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2227,
    "c": 0.06929,
    "h": 267.4
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#0D183B
secondary
#77652D
accent
#BF41E7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0D183B

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

Preview Lab → · Contrast checker → · Palette generator →

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