#0D1A48#0D1A48

#0D1A48 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.088 H 267.3°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#0D1A48
RGBrgb(13, 26, 72)
HSLhsl(227, 69%, 17%)
HSVhsv(227, 82%, 28%)
CMYKcmyk(81.9%, 63.9%, 0%, 71.8%)
CIE-LABlab(11.22, 13.55, -30.38)
CIE-LCHlch(11.22, 33.27, 294.04°)
OKLaboklab(23.97% -0.0041 -0.0876)
OKLCHoklch(23.97% 0.088 267.3)
XYZxyz(1.7047, 1.2921, 6.2892)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A48 #483B0D
analogous
#0D3848 #0D1A48 #1E0D48
triadic
#0D1A48 #480D1A #1A480D
tetradic
#0D1A48 #480D38 #483B0D #0D481E
square
#0D1A48 #480D38 #483B0D #0D481E
split-complementary
#0D1A48 #481E0D #38480D
monochromatic
#05091A #05091A #0D1A48 #162D7C #203FB0

Accessibility & contrast

On white

16.69
#0D1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1A48
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A48#FFFFFF#000000##FFFFFF
##0D1A481.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1a48;
/* rgb */ color: rgb(13, 26, 72);
/* oklch */ color: oklch(24.0% 0.088 267.3);
Tailwind
colors: {
  custom: {
    50: '#56567b',
    500: '#0d1a48',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a48;
$custom-light: #56567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a48",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 226.78,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23974,
    "c": 0.08773,
    "h": 267.3
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#0D1A48
secondary
#83702D
accent
#C53CEC
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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