#0D1B4E#0D1B4E

#0D1B4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.096 H 267.2°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#0D1B4E
RGBrgb(13, 27, 78)
HSLhsl(227, 71%, 18%)
HSVhsv(227, 83%, 31%)
CMYKcmyk(83.3%, 65.4%, 0%, 69.4%)
CIE-LABlab(12.09, 15.41, -33.12)
CIE-LCHlch(12.09, 36.53, 294.96°)
OKLaboklab(24.8% -0.0047 -0.0956)
OKLCHoklch(24.8% 0.096 267.2)
XYZxyz(1.9326, 1.4193, 7.3783)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1B4E #4E400D
analogous
#0D3B4E #0D1B4E #1F0D4E
triadic
#0D1B4E #4E0D1B #1B4E0D
tetradic
#0D1B4E #4E0D3B #4E400D #0D4E1F
square
#0D1B4E #4E0D3B #4E400D #0D4E1F
split-complementary
#0D1B4E #4E1F0D #3B4E0D
monochromatic
#04091A #04091A #0D1B4E #162D82 #1E3FB7

Accessibility & contrast

On white

16.36
#0D1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0D1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1B4E
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1B4E#FFFFFF#000000##FFFFFF
##0D1B4E1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1b4e;
/* rgb */ color: rgb(13, 27, 78);
/* oklch */ color: oklch(24.8% 0.096 267.2);
Tailwind
colors: {
  custom: {
    50: '#585680',
    500: '#0d1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #0d1b4e;
$custom-light: #585680;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1b4e",
  "rgb": {
    "r": 13,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 227.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24795,
    "c": 0.09577,
    "h": 267.2
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#0D1B4E
secondary
#89752E
accent
#C73AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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