#0D1241#0D1241

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

Color values

HEX#0D1241
RGBrgb(13, 18, 65)
HSLhsl(234, 67%, 15%)
HSVhsv(234, 80%, 25%)
CMYKcmyk(80%, 72.3%, 0%, 74.5%)
CIE-LABlab(8.13, 16.68, -30.51)
CIE-LCHlch(8.13, 34.77, 298.66°)
OKLaboklab(21.47% 0.0029 -0.0881)
OKLCHoklch(21.47% 0.088 271.9)
XYZxyz(1.3361, 0.8997, 5.1032)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1241 #413C0D
analogous
#0D2C41 #0D1241 #220D41
triadic
#0D1241 #410D12 #12410D
tetradic
#0D1241 #410D2C #413C0D #0D4122
square
#0D1241 #410D2C #413C0D #0D4122
split-complementary
#0D1241 #41220D #2C410D
monochromatic
#05071A #05071A #0D1241 #172074 #212EA7

Accessibility & contrast

On white

17.80
#0D1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1241
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1241#FFFFFF#000000##FFFFFF
##0D12411.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1241;
/* rgb */ color: rgb(13, 18, 65);
/* oklch */ color: oklch(21.5% 0.088 271.9);
Tailwind
colors: {
  custom: {
    50: '#554f76',
    500: '#0d1241',
    950: '#000000',
  },
}
SCSS
$custom: #0d1241;
$custom-light: #554f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1241",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 234.231,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21467,
    "c": 0.08817,
    "h": 271.9
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#0D1241
secondary
#7D752D
accent
#D93EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1241

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

Preview Lab → · Contrast checker → · Palette generator →

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