#0D1340#0D1340

#0D1340 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.085 H 271.4°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#0D1340
RGBrgb(13, 19, 64)
HSLhsl(233, 66%, 15%)
HSVhsv(233, 80%, 25%)
CMYKcmyk(79.7%, 70.3%, 0%, 74.9%)
CIE-LABlab(8.32, 15.49, -29.49)
CIE-LCHlch(8.32, 33.31, 297.71°)
OKLaboklab(21.58% 0.0021 -0.0851)
OKLCHoklch(21.58% 0.085 271.4)
XYZxyz(1.3240, 0.9213, 4.9576)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1340 #403A0D
analogous
#0D2D40 #0D1340 #200D40
triadic
#0D1340 #400D13 #13400D
tetradic
#0D1340 #400D2D #403A0D #0D4020
square
#0D1340 #400D2D #403A0D #0D4020
split-complementary
#0D1340 #40200D #2D400D
monochromatic
#050819 #050819 #0D1340 #172273 #2231A6

Accessibility & contrast

On white

17.73
#0D1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1340
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1340#FFFFFF#000000##FFFFFF
##0D13401.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1340;
/* rgb */ color: rgb(13, 19, 64);
/* oklch */ color: oklch(21.6% 0.085 271.4);
Tailwind
colors: {
  custom: {
    50: '#545075',
    500: '#0d1340',
    950: '#000000',
  },
}
SCSS
$custom: #0d1340;
$custom-light: #545075;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1340",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 232.941,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21577,
    "c": 0.08514,
    "h": 271.4
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#0D1340
secondary
#7C722D
accent
#D53FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1340

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

Preview Lab → · Contrast checker → · Palette generator →

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