#0D1A42#0D1A42

#0D1A42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.078 H 266.7°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#0D1A42
RGBrgb(13, 26, 66)
HSLhsl(225, 67%, 15%)
HSVhsv(225, 80%, 26%)
CMYKcmyk(80.3%, 60.6%, 0%, 74.1%)
CIE-LABlab(10.69, 10.90, -27.05)
CIE-LCHlch(10.69, 29.17, 291.95°)
OKLaboklab(23.4% -0.0045 -0.0778)
OKLCHoklch(23.4% 0.078 266.7)
XYZxyz(1.5184, 1.2175, 5.3082)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A42 #42350D
analogous
#0D3442 #0D1A42 #1A0D42
triadic
#0D1A42 #420D1A #1A420D
tetradic
#0D1A42 #420D34 #42350D #0D421A
square
#0D1A42 #420D34 #42350D #0D421A
split-complementary
#0D1A42 #421A0D #34420D
monochromatic
#050A1A #050A1A #0D1A42 #172E75 #2142A8

Accessibility & contrast

On white

16.89
#0D1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0D1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A42
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A42#FFFFFF#000000##FFFFFF
##0D1A421.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F43
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1a42;
/* rgb */ color: rgb(13, 26, 66);
/* oklch */ color: oklch(23.4% 0.078 266.7);
Tailwind
colors: {
  custom: {
    50: '#545677',
    500: '#0d1a42',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a42;
$custom-light: #545677;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a42",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 225.283,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23404,
    "c": 0.07797,
    "h": 266.7
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#0D1A42
secondary
#7E6A2D
accent
#C03EEA
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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