#0D1541#0D1541

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

Color values

HEX#0D1541
RGBrgb(13, 21, 65)
HSLhsl(231, 67%, 15%)
HSVhsv(231, 80%, 25%)
CMYKcmyk(80%, 67.7%, 0%, 74.5%)
CIE-LABlab(9.02, 14.37, -29.05)
CIE-LCHlch(9.02, 32.41, 296.32°)
OKLaboklab(22.13% 0.0003 -0.0838)
OKLCHoklch(22.13% 0.084 270.2)
XYZxyz(1.3880, 1.0034, 5.1205)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1541 #41390D
analogous
#0D2F41 #0D1541 #1F0D41
triadic
#0D1541 #410D15 #15410D
tetradic
#0D1541 #410D2F #41390D #0D411F
square
#0D1541 #410D2F #41390D #0D411F
split-complementary
#0D1541 #411F0D #2F410D
monochromatic
#05081A #05081A #0D1541 #172574 #2136A7

Accessibility & contrast

On white

17.49
#0D1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1541
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1541#FFFFFF#000000##FFFFFF
##0D15411.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d1541;
/* rgb */ color: rgb(13, 21, 65);
/* oklch */ color: oklch(22.1% 0.084 270.2);
Tailwind
colors: {
  custom: {
    50: '#545276',
    500: '#0d1541',
    950: '#000000',
  },
}
SCSS
$custom: #0d1541;
$custom-light: #545276;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1541",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 230.769,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22127,
    "c": 0.08381,
    "h": 270.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#0D1541
secondary
#7D702D
accent
#CF3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1541

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

Preview Lab → · Contrast checker → · Palette generator →

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