#0D1A4C#0D1A4C

#0D1A4C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.094 H 267.6°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#0D1A4C
RGBrgb(13, 26, 76)
HSLhsl(228, 71%, 17%)
HSVhsv(228, 83%, 30%)
CMYKcmyk(82.9%, 65.8%, 0%, 70.2%)
CIE-LABlab(11.59, 15.30, -32.54)
CIE-LCHlch(11.59, 35.96, 295.19°)
OKLaboklab(24.37% -0.004 -0.094)
OKLCHoklch(24.37% 0.094 267.6)
XYZxyz(1.8394, 1.3460, 6.9989)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A4C #4C3F0D
analogous
#0D3A4C #0D1A4C #1F0D4C
triadic
#0D1A4C #4C0D1A #1A4C0D
tetradic
#0D1A4C #4C0D3A #4C3F0D #0D4C1F
square
#0D1A4C #4C0D3A #4C3F0D #0D4C1F
split-complementary
#0D1A4C #4C1F0D #3A4C0D
monochromatic
#04091A #04091A #0D1A4C #162C80 #1F3EB5

Accessibility & contrast

On white

16.55
#0D1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1A4C
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A4C#FFFFFF#000000##FFFFFF
##0D1A4C1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0d1a4c;
/* rgb */ color: rgb(13, 26, 76);
/* oklch */ color: oklch(24.4% 0.094 267.6);
Tailwind
colors: {
  custom: {
    50: '#57567f',
    500: '#0d1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a4c;
$custom-light: #57567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a4c",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 227.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24369,
    "c": 0.09406,
    "h": 267.6
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#0D1A4C
secondary
#87752E
accent
#C93AEE
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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