#0D1140#0D1140

#0D1140 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.088 H 272.5°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0D1140
RGBrgb(13, 17, 64)
HSLhsl(235, 66%, 15%)
HSVhsv(235, 80%, 25%)
CMYKcmyk(79.7%, 73.4%, 0%, 74.9%)
CIE-LABlab(7.74, 17.00, -30.44)
CIE-LCHlch(7.74, 34.87, 299.18°)
OKLaboklab(21.15% 0.0038 -0.0879)
OKLCHoklch(21.15% 0.088 272.5)
XYZxyz(1.2915, 0.8565, 4.9468)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1140 #403C0D
analogous
#0D2B40 #0D1140 #220D40
triadic
#0D1140 #400D11 #11400D
tetradic
#0D1140 #400D2B #403C0D #0D4022
square
#0D1140 #400D2B #403C0D #0D4022
split-complementary
#0D1140 #40220D #2B400D
monochromatic
#050719 #050719 #0D1140 #171F73 #222CA6

Accessibility & contrast

On white

17.93
#0D1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1140
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1140#FFFFFF#000000##FFFFFF
##0D11401.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d1140;
/* rgb */ color: rgb(13, 17, 64);
/* oklch */ color: oklch(21.1% 0.088 272.5);
Tailwind
colors: {
  custom: {
    50: '#544e75',
    500: '#0d1140',
    950: '#000000',
  },
}
SCSS
$custom: #0d1140;
$custom-light: #544e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1140",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 235.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21148,
    "c": 0.08801,
    "h": 272.5
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#0D1140
secondary
#7C752D
accent
#DC3FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D1140

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

Preview Lab → · Contrast checker → · Palette generator →

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