#0D1440#0D1440

#0D1440 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.084 H 270.8°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#0D1440
RGBrgb(13, 20, 64)
HSLhsl(232, 66%, 15%)
HSVhsv(232, 80%, 25%)
CMYKcmyk(79.7%, 68.8%, 0%, 74.9%)
CIE-LABlab(8.62, 14.71, -29.00)
CIE-LCHlch(8.62, 32.52, 296.90°)
OKLaboklab(21.8% 0.0012 -0.0837)
OKLCHoklch(21.8% 0.084 270.8)
XYZxyz(1.3412, 0.9559, 4.9633)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1440 #40390D
analogous
#0D2D40 #0D1440 #200D40
triadic
#0D1440 #400D14 #14400D
tetradic
#0D1440 #400D2D #40390D #0D4020
square
#0D1440 #400D2D #40390D #0D4020
split-complementary
#0D1440 #40200D #2D400D
monochromatic
#050819 #050819 #0D1440 #172473 #2234A6

Accessibility & contrast

On white

17.63
#0D1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1440
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1440#FFFFFF#000000##FFFFFF
##0D14401.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d1440;
/* rgb */ color: rgb(13, 20, 64);
/* oklch */ color: oklch(21.8% 0.084 270.8);
Tailwind
colors: {
  custom: {
    50: '#545175',
    500: '#0d1440',
    950: '#000000',
  },
}
SCSS
$custom: #0d1440;
$custom-light: #545175;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1440",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 231.765,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21799,
    "c": 0.08367,
    "h": 270.8
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#0D1440
secondary
#7C712D
accent
#D23FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1440

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

Preview Lab → · Contrast checker → · Palette generator →

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