#0D1740#0D1740

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

Color values

HEX#0D1740
RGBrgb(13, 23, 64)
HSLhsl(228, 66%, 15%)
HSVhsv(228, 80%, 25%)
CMYKcmyk(79.7%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.55, 12.37, -27.48)
CIE-LCHlch(9.55, 30.14, 294.23°)
OKLaboklab(22.49% -0.0017 -0.0792)
OKLCHoklch(22.49% 0.079 268.8)
XYZxyz(1.3975, 1.0684, 4.9821)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1740 #40360D
analogous
#0D3140 #0D1740 #1C0D40
triadic
#0D1740 #400D17 #17400D
tetradic
#0D1740 #400D31 #40360D #0D401C
square
#0D1740 #400D31 #40360D #0D401C
split-complementary
#0D1740 #401C0D #31400D
monochromatic
#050919 #050919 #0D1740 #172973 #223CA6

Accessibility & contrast

On white

17.30
#0D1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1740
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1740#FFFFFF#000000##FFFFFF
##0D17401.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1740;
/* rgb */ color: rgb(13, 23, 64);
/* oklch */ color: oklch(22.5% 0.079 268.8);
Tailwind
colors: {
  custom: {
    50: '#545375',
    500: '#0d1740',
    950: '#000000',
  },
}
SCSS
$custom: #0d1740;
$custom-light: #545375;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1740",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 228.235,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22492,
    "c": 0.07919,
    "h": 268.8
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#0D1740
secondary
#7C6C2D
accent
#C83FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1740

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

Preview Lab → · Contrast checker → · Palette generator →

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