#0D1A49#0D1A49

#0D1A49 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.089 H 267.4°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#0D1A49
RGBrgb(13, 26, 73)
HSLhsl(227, 70%, 17%)
HSVhsv(227, 82%, 29%)
CMYKcmyk(82.2%, 64.4%, 0%, 71.4%)
CIE-LABlab(11.31, 13.99, -30.93)
CIE-LCHlch(11.31, 33.94, 294.35°)
OKLaboklab(24.07% -0.004 -0.0892)
OKLCHoklch(24.07% 0.089 267.4)
XYZxyz(1.7376, 1.3052, 6.4624)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A49 #493C0D
analogous
#0D3849 #0D1A49 #1E0D49
triadic
#0D1A49 #490D1A #1A490D
tetradic
#0D1A49 #490D38 #493C0D #0D491E
square
#0D1A49 #490D38 #493C0D #0D491E
split-complementary
#0D1A49 #491E0D #38490D
monochromatic
#05091A #05091A #0D1A49 #162D7D #203FB1

Accessibility & contrast

On white

16.65
#0D1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0D1A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A49
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A49#FFFFFF#000000##FFFFFF
##0D1A491.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1a49;
/* rgb */ color: rgb(13, 26, 73);
/* oklch */ color: oklch(24.1% 0.089 267.4);
Tailwind
colors: {
  custom: {
    50: '#56567c',
    500: '#0d1a49',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a49;
$custom-light: #56567c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a49",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 227,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24071,
    "c": 0.08932,
    "h": 267.4
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#0D1A49
secondary
#84722D
accent
#C63BED
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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