#0D1A4B#0D1A4B

#0D1A4B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.092 H 267.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#0D1A4B
RGBrgb(13, 26, 75)
HSLhsl(227, 70%, 17%)
HSVhsv(227, 83%, 29%)
CMYKcmyk(82.7%, 65.3%, 0%, 70.6%)
CIE-LABlab(11.50, 14.87, -32.01)
CIE-LCHlch(11.50, 35.29, 294.91°)
OKLaboklab(24.27% -0.004 -0.0924)
OKLCHoklch(24.27% 0.092 267.5)
XYZxyz(1.8049, 1.3322, 6.8173)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A4B #4B3E0D
analogous
#0D394B #0D1A4B #1F0D4B
triadic
#0D1A4B #4B0D1A #1A4B0D
tetradic
#0D1A4B #4B0D39 #4B3E0D #0D4B1F
square
#0D1A4B #4B0D39 #4B3E0D #0D4B1F
split-complementary
#0D1A4B #4B1F0D #394B0D
monochromatic
#05091A #05091A #0D1A4B #162C7F #1F3EB3

Accessibility & contrast

On white

16.58
#0D1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0D1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A4B
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A4B#FFFFFF#000000##FFFFFF
##0D1A4B1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1a4b;
/* rgb */ color: rgb(13, 26, 75);
/* oklch */ color: oklch(24.3% 0.092 267.5);
Tailwind
colors: {
  custom: {
    50: '#57567e',
    500: '#0d1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a4b;
$custom-light: #57567e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a4b",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 227.419,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24269,
    "c": 0.09249,
    "h": 267.5
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#0D1A4B
secondary
#86742E
accent
#C83BED
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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