#0D183E#0D183E

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

Color values

HEX#0D183E
RGBrgb(13, 24, 62)
HSLhsl(227, 65%, 15%)
HSVhsv(227, 79%, 24%)
CMYKcmyk(79%, 61.3%, 0%, 75.7%)
CIE-LABlab(9.69, 10.70, -25.83)
CIE-LCHlch(9.69, 27.96, 292.49°)
OKLaboklab(22.54% -0.0028 -0.0743)
OKLCHoklch(22.54% 0.074 267.8)
XYZxyz(1.3618, 1.0865, 4.6944)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D183E #3E330D
analogous
#0D313E #0D183E #1B0D3E
triadic
#0D183E #3E0D18 #183E0D
tetradic
#0D183E #3E0D31 #3E330D #0D3E1B
square
#0D183E #3E0D31 #3E330D #0D3E1B
split-complementary
#0D183E #3E1B0D #313E0D
monochromatic
#050A19 #050A19 #0D183E #182C71 #223FA3

Accessibility & contrast

On white

17.25
#0D183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D183E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D183E#FFFFFF#000000##FFFFFF
##0D183E1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d183e;
/* rgb */ color: rgb(13, 24, 62);
/* oklch */ color: oklch(22.5% 0.074 267.8);
Tailwind
colors: {
  custom: {
    50: '#535474',
    500: '#0d183e',
    950: '#000000',
  },
}
SCSS
$custom: #0d183e;
$custom-light: #535474;
$custom-dark: #000000;
JSON
{
  "hex": "#0d183e",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 226.531,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22544,
    "c": 0.07434,
    "h": 267.8
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#0D183E
secondary
#7A682D
accent
#C240E8
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D183E

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

Preview Lab → · Contrast checker → · Palette generator →

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